Skip to content

Commit

Permalink
Turn off continueAfterFailure in test case 1e5beffd-b21f-4281-85c9-b1…
Browse files Browse the repository at this point in the history
…b6ab02471d

Investigating #1330.
  • Loading branch information
lawrence-forooghian committed Apr 21, 2022
1 parent 3d64c67 commit 651e914
Showing 1 changed file with 5 additions and 1 deletion.
6 changes: 5 additions & 1 deletion Spec/Tests/RealtimeClientPresenceTests.swift
Original file line number Diff line number Diff line change
Expand Up @@ -1059,14 +1059,16 @@ class RealtimeClientPresenceTests: XCTestCase {

// RTP8c
func test__032__Presence__enter__entering_without_an_explicit_PresenceMessage_clientId_should_implicitly_use_the_clientId_of_the_current_connection() {
continueAfterFailure = false

let options = AblyTests.commonAppSetup()
options.clientId = "john"
let client = AblyTests.newRealtime(options)
defer { client.dispose(); client.close() }
let channel = client.channels.get(uniqueChannelName())

waitUntil(timeout: testTimeout) { done in
let partialDone = AblyTests.splitDone(2, done: done)
let partialDone = AblyTests.splitDone(3, done: done)
channel.presence.enter("online") { error in
expect(error).to(beNil())
partialDone()
Expand All @@ -1077,6 +1079,8 @@ class RealtimeClientPresenceTests: XCTestCase {
partialDone()
}
}

NSLog("IM HERE")

let transport = client.internal.transport as! TestProxyTransport
let sent = transport.protocolMessagesSent.filter { $0.action == .presence }[0].presence![0]
Expand Down

0 comments on commit 651e914

Please sign in to comment.