ably / ably-cocoa

iOS, tvOS and macOS Objective-C and Swift client library SDK for Ably realtime messaging service
https://ably.com/download
Apache License 2.0
46 stars 24 forks source link

Crashing test: Channel__history__should_retrieve_all_available_messages #1051

Closed QuintinWillison closed 1 month ago

QuintinWillison commented 4 years ago

When run locally with make test_iOS:

[19:05:43]: ▸     ✗ Channel__history__should_retrieve_all_available_messages, expected to have Array<ARTMessage> with count 10, got 0
[19:05:43]: ▸     ✗ Channel__history__should_retrieve_all_available_messages, expected to be true, got <false>
[19:05:43]: ▸     ✗ Channel__history__should_retrieve_all_available_messages, expected to be false, got <true>
[19:05:57]: ▸ 2020-07-01 19:05:57.777 xcodebuild[32229:2231080]  IDETestOperationsObserverDebug: Writing diagnostic log for test session to:
[19:05:57]: ▸ /Users/quintin/Library/Developer/Xcode/DerivedData/Ably-brxvaqpefvodvefhlejpuifnswap/Logs/Test/Run-Ably-iOS-Tests-2020.07.01_19-02-12-+0100.xcresult/Staging/3_Test/Diagnostics/Ably-iOS-Tests-49E0C898-21F9-46EE-8D8A-307EB9D4372C/Ably-iOS-Tests-FAE9255B-5E18-42F5-8EFD-B9F1FC32281A/Session-Ably-iOS-Tests-2020-07-01_190557-Yq5fnt.log
[19:05:57]: ▸ 2020-07-01 19:05:57.777 xcodebuild[32229:2226833] [MT] IDETestOperationsObserverDebug: (780B80C7-5463-427C-8302-8E0374B90A92) Beginning test session Ably-iOS-Tests-780B80C7-5463-427C-8302-8E0374B90A92 at 2020-07-01 19:05:57.778 with Xcode 11C505 on target <DVTiPhoneSimulator: 0x7fbe1c979460> {
[19:05:57]: ▸       SimDevice: iPhone XS (ABD330A8-95DB-4B93-9A43-AE2384A250F9, iOS 12.0, Booted)
[19:05:57]: ▸ } (12.0 (16A366))
[19:05:57]: ▸ 2020-07-01 19:05:57.781 xcodebuild[32229:2226833] [MT] IDETestOperationsObserverDebug: (780B80C7-5463-427C-8302-8E0374B90A92) Finished requesting crash reports. Continuing with testing.
[19:05:58]: ▸     ✗ Channel__history__should_retrieve_all_available_messages, Test crashed

┆Issue is synchronized with this Jira Bug by Unito

maratal commented 1 month ago

Closing outdated issue. The codebase changed drastically since then and all skipped tests were unskipped, see PRs for https://github.com/ably/ably-cocoa/issues/1406 and https://github.com/ably/ably-cocoa/issues/1848

If you encounter frequently failing test again, please create a new issue with a best guess why it might be happening.