From 9427a2f6fbced8a94cee0b85c42286744e6dd98f Mon Sep 17 00:00:00 2001 From: amnon Date: Wed, 2 Oct 2024 11:08:50 +0100 Subject: [PATCH 1/2] debug test__030__Presence__enter__optionally_a_callback_can_be_provided_that_is_called_for_success --- Test/Tests/RealtimeClientPresenceTests.swift | 2 ++ 1 file changed, 2 insertions(+) diff --git a/Test/Tests/RealtimeClientPresenceTests.swift b/Test/Tests/RealtimeClientPresenceTests.swift index 916b6f70b..845c60a21 100644 --- a/Test/Tests/RealtimeClientPresenceTests.swift +++ b/Test/Tests/RealtimeClientPresenceTests.swift @@ -1051,6 +1051,8 @@ class RealtimeClientPresenceTests: XCTestCase { let test = Test() let options = try AblyTests.commonAppSetup(for: test) options.clientId = "john" + options.logLevel = .debug + options.useBinaryProtocol = false let client1 = ARTRealtime(options: options) defer { client1.dispose(); client1.close() } From f1c87df86213385177e9c249731ef9d3c3c87773 Mon Sep 17 00:00:00 2001 From: amnon Date: Wed, 2 Oct 2024 12:49:08 +0100 Subject: [PATCH 2/2] WIP pushing to rerun flakey test in CI --- .../xcshareddata/xcschemes/Ably-SoakTest-App.xcscheme | 2 +- Ably.xcodeproj/xcshareddata/xcschemes/Ably-iOS.xcscheme | 2 +- Ably.xcodeproj/xcshareddata/xcschemes/Ably-macOS.xcscheme | 2 +- Ably.xcodeproj/xcshareddata/xcschemes/Ably-tvOS.xcscheme | 2 +- Source/ARTPresenceMessage.m | 1 + 5 files changed, 5 insertions(+), 4 deletions(-) diff --git a/Ably.xcodeproj/xcshareddata/xcschemes/Ably-SoakTest-App.xcscheme b/Ably.xcodeproj/xcshareddata/xcschemes/Ably-SoakTest-App.xcscheme index 545482692..5c7efdf56 100644 --- a/Ably.xcodeproj/xcshareddata/xcschemes/Ably-SoakTest-App.xcscheme +++ b/Ably.xcodeproj/xcshareddata/xcschemes/Ably-SoakTest-App.xcscheme @@ -1,6 +1,6 @@ *idParts = [self.id componentsSeparatedByCharactersInSet:[NSCharacterSet characterSetWithCharactersInString:@":"]]; + NSLog(@"AMNON idParts is %@", idParts); if (idParts.count != 3) { [ARTException raise:ARTPresenceMessageException format:ARTAblyMessageInvalidPresenceId, self.id]; }