Skip to content

Commit

Permalink
WIP add some debug logging
Browse files Browse the repository at this point in the history
  • Loading branch information
amnonbc committed Sep 17, 2024
1 parent 43a24d2 commit 7222af4
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion Test/Tests/RealtimeClientConnectionTests.swift
Original file line number Diff line number Diff line change
Expand Up @@ -2142,7 +2142,7 @@ class RealtimeClientConnectionTests: XCTestCase {

// Let the token expire
waitUntil(timeout: testTimeout) { done in
delay(tokenTtl + AblyTests.tokenExpiryTolerance) {
delay(tokenTtl + AblyTests.tokenExpiryTolerance+10.0) {
done()
}
}
Expand All @@ -2159,6 +2159,7 @@ class RealtimeClientConnectionTests: XCTestCase {
client.connection.on { stateChange in
let state = stateChange.current
let errorInfo = stateChange.reason
NSLog("got state change state %s, reason %s\n", stateChange.current, stateChange.reason)

Check failure on line 2162 in Test/Tests/RealtimeClientConnectionTests.swift

View workflow job for this annotation

GitHub Actions / check (iOS, test_iOS17_2)

expression implicitly coerced from 'ARTErrorInfo?' to 'Any'

Check failure on line 2162 in Test/Tests/RealtimeClientConnectionTests.swift

View workflow job for this annotation

GitHub Actions / check (iOS, test_iOS17_2)

'NSLog' is unavailable: Variadic function is unavailable

Check failure on line 2162 in Test/Tests/RealtimeClientConnectionTests.swift

View workflow job for this annotation

GitHub Actions / check (tvOS, test_tvOS17_2)

expression implicitly coerced from 'ARTErrorInfo?' to 'Any'

Check failure on line 2162 in Test/Tests/RealtimeClientConnectionTests.swift

View workflow job for this annotation

GitHub Actions / check (tvOS, test_tvOS17_2)

'NSLog' is unavailable: Variadic function is unavailable

Check failure on line 2162 in Test/Tests/RealtimeClientConnectionTests.swift

View workflow job for this annotation

GitHub Actions / check (macOS, test_macOS)

expression implicitly coerced from 'ARTErrorInfo?' to 'Any'

Check failure on line 2162 in Test/Tests/RealtimeClientConnectionTests.swift

View workflow job for this annotation

GitHub Actions / check (macOS, test_macOS)

'NSLog' is unavailable: Variadic function is unavailable
switch state {
case .connected:
fail("Should not be connected")
Expand Down

0 comments on commit 7222af4

Please sign in to comment.