Fix sync client and sync realm tests #2496
537 passed, 1 failed and 27 skipped
✅ ./packages/test-sync/build/test-results/iosTest/TEST-io.realm.kotlin.test.mongodb.common.ApiKeyAuthTests.xml
19 tests were completed in 31s with 18 passed, 0 failed and 1 skipped.
✅ ./packages/test-sync/build/test-results/iosTest/TEST-io.realm.kotlin.test.mongodb.common.AppConfigurationTests.xml
28 tests were completed in 2s with 27 passed, 0 failed and 1 skipped.
✅ ./packages/test-sync/build/test-results/iosTest/TEST-io.realm.kotlin.test.mongodb.common.AppTests.xml
23 tests were completed in 39s with 18 passed, 0 failed and 5 skipped.
✅ ./packages/test-sync/build/test-results/iosTest/TEST-io.realm.kotlin.test.mongodb.common.AsymmetricSyncTests.xml
11 tests were completed in 23s with 11 passed, 0 failed and 0 skipped.
✅ ./packages/test-sync/build/test-results/iosTest/TEST-io.realm.kotlin.test.mongodb.common.CredentialsTests.xml
5 tests were completed in 7s with 5 passed, 0 failed and 0 skipped.
✅ ./packages/test-sync/build/test-results/iosTest/TEST-io.realm.kotlin.test.mongodb.common.EmailPasswordAuthWithAutoConfirmTests.xml
20 tests were completed in 14s with 16 passed, 0 failed and 4 skipped.
✅ ./packages/test-sync/build/test-results/iosTest/TEST-io.realm.kotlin.test.mongodb.common.EmailPasswordAuthWithCustomFunctionTests.xml
5 tests were completed in 8s with 5 passed, 0 failed and 0 skipped.
✅ ./packages/test-sync/build/test-results/iosTest/TEST-io.realm.kotlin.test.mongodb.common.EmailPasswordAuthWithEmailConfirmTests.xml
2 tests were completed in 5s with 2 passed, 0 failed and 0 skipped.
✅ ./packages/test-sync/build/test-results/iosTest/TEST-io.realm.kotlin.test.mongodb.common.FlexibleSyncConfigurationTests.xml
15 tests were completed in 22s with 14 passed, 0 failed and 1 skipped.
✅ ./packages/test-sync/build/test-results/iosTest/TEST-io.realm.kotlin.test.mongodb.common.FlexibleSyncIntegrationTests.xml
7 tests were completed in 23s with 7 passed, 0 failed and 0 skipped.
✅ ./packages/test-sync/build/test-results/iosTest/TEST-io.realm.kotlin.test.mongodb.common.FLXProgressListenerTests.xml
7 tests were completed in 38s with 7 passed, 0 failed and 0 skipped.
✅ ./packages/test-sync/build/test-results/iosTest/TEST-io.realm.kotlin.test.mongodb.common.FunctionsTests.xml
14 tests were completed in 29s with 14 passed, 0 failed and 0 skipped.
✅ ./packages/test-sync/build/test-results/iosTest/TEST-io.realm.kotlin.test.mongodb.common.GeoSpatialTests.xml
5 tests were completed in 19s with 5 passed, 0 failed and 0 skipped.
✅ ./packages/test-sync/build/test-results/iosTest/TEST-io.realm.kotlin.test.mongodb.common.HttpLogObfuscatorTests.xml
8 tests were completed in 17s with 8 passed, 0 failed and 0 skipped.
✅ ./packages/test-sync/build/test-results/iosTest/TEST-io.realm.kotlin.test.mongodb.common.internal.KtorNetworkTransportTest.xml
4 tests were completed in 7s with 3 passed, 0 failed and 1 skipped.
✅ ./packages/test-sync/build/test-results/iosTest/TEST-io.realm.kotlin.test.mongodb.common.internal.RealmSyncUtilsTest.xml
8 tests were completed in 0ms with 8 passed, 0 failed and 0 skipped.
✅ ./packages/test-sync/build/test-results/iosTest/TEST-io.realm.kotlin.test.mongodb.common.internal.SyncConnectionParamsTests.xml
1 tests were completed in 0ms with 1 passed, 0 failed and 0 skipped.
✅ ./packages/test-sync/build/test-results/iosTest/TEST-io.realm.kotlin.test.mongodb.common.mongo.MongoClientTests.xml
7 tests were completed in 9s with 7 passed, 0 failed and 0 skipped.
✅ ./packages/test-sync/build/test-results/iosTest/TEST-io.realm.kotlin.test.mongodb.common.mongo.MongoCollectionFromClientTests.xml
55 tests were completed in 165s with 55 passed, 0 failed and 0 skipped.
✅ ./packages/test-sync/build/test-results/iosTest/TEST-io.realm.kotlin.test.mongodb.common.mongo.MongoCollectionFromDatabaseTests.xml
54 tests were completed in 156s with 54 passed, 0 failed and 0 skipped.
✅ ./packages/test-sync/build/test-results/iosTest/TEST-io.realm.kotlin.test.mongodb.common.mongo.MongoDatabaseTests.xml
5 tests were completed in 6s with 5 passed, 0 failed and 0 skipped.
✅ ./packages/test-sync/build/test-results/iosTest/TEST-io.realm.kotlin.test.mongodb.common.mongo.MongoDBSerializerTests.xml
9 tests were completed in 51ms with 9 passed, 0 failed and 0 skipped.
✅ ./packages/test-sync/build/test-results/iosTest/TEST-io.realm.kotlin.test.mongodb.common.MutableSubscriptionSetTests.xml
21 tests were completed in 32s with 20 passed, 0 failed and 1 skipped.
✅ ./packages/test-sync/build/test-results/iosTest/TEST-io.realm.kotlin.test.mongodb.common.nonlatin.NonLatinTests.xml
1 tests were completed in 3s with 1 passed, 0 failed and 0 skipped.
✅ ./packages/test-sync/build/test-results/iosTest/TEST-io.realm.kotlin.test.mongodb.common.PBSProgressListenerTests.xml
8 tests were completed in 12s with 4 passed, 0 failed and 4 skipped.
✅ ./packages/test-sync/build/test-results/iosTest/TEST-io.realm.kotlin.test.mongodb.common.SchemaProcessorTests.xml
2 tests were completed in 1ms with 2 passed, 0 failed and 0 skipped.
✅ ./packages/test-sync/build/test-results/iosTest/TEST-io.realm.kotlin.test.mongodb.common.serializer.BsonEncoderTests.xml
12 tests were completed in 21ms with 12 passed, 0 failed and 0 skipped.
✅ ./packages/test-sync/build/test-results/iosTest/TEST-io.realm.kotlin.test.mongodb.common.SubscriptionExtensionsTests.xml
16 tests were completed in 46s with 16 passed, 0 failed and 0 skipped.
✅ ./packages/test-sync/build/test-results/iosTest/TEST-io.realm.kotlin.test.mongodb.common.SubscriptionSetTests.xml
19 tests were completed in 37s with 19 passed, 0 failed and 0 skipped.
✅ ./packages/test-sync/build/test-results/iosTest/TEST-io.realm.kotlin.test.mongodb.common.SubscriptionTests.xml
6 tests were completed in 9s with 6 passed, 0 failed and 0 skipped.
❌ ./packages/test-sync/build/test-results/iosTest/TEST-io.realm.kotlin.test.mongodb.common.SyncClientResetIntegrationTests.xml
32 tests were completed in 131s with 31 passed, 1 failed and 0 skipped.
Test suite | Passed | Failed | Skipped | Time |
---|---|---|---|---|
io.realm.kotlin.test.mongodb.common.SyncClientResetIntegrationTests | 31✅ | 1❌ | 131s |
❌ io.realm.kotlin.test.mongodb.common.SyncClientResetIntegrationTests
✅ discardUnsyncedChanges_discards_pbs[ios]
✅ discardUnsyncedChanges_discards_flx[ios]
✅ discardUnsyncedChanges_discards_attemptRecover_pbs[ios]
❌ discardUnsyncedChanges_discards_attemptRecover_flx[ios]
kotlinx.coroutines.TimeoutCancellationException: Timeout after 1m: <no message>
✅ discardUnsyncedChanges_failure_pbs[ios]
✅ discardUnsyncedChanges_failure_flx[ios]
✅ discardUnsyncedChanges_executeClientReset_pbs[ios]
✅ discardUnsyncedChanges_executeClientReset_flx[ios]
✅ discardUnsyncedChanges_userExceptionCaptured_onBeforeReset_pbs[ios]
✅ discardUnsyncedChanges_userExceptionCaptured_onBeforeReset_flx[ios]
✅ discardUnsyncedChanges_userExceptionCaptured_onAfterReset_pbs[ios]
✅ discardUnsyncedChanges_userExceptionCaptured_onAfterReset_flx[ios]
✅ defaultRecoverOrDiscardUnsyncedChanges_logsReported_pbs[ios]
✅ defaultRecoverOrDiscardUnsyncedChanges_logsReported_flx[ios]
✅ manuallyRecoverUnsyncedChanges_reported_pbs[ios]
✅ manuallyRecoverUnsyncedChanges_reported_flx[ios]
✅ manuallyRecoverUnsyncedChanges_executeClientReset_pbs[ios]
✅ manuallyRecoverUnsyncedChanges_executeClientReset_flx[ios]
✅ recoverUnsyncedChanges_recover_pbs[ios]
✅ recoverUnsyncedChanges_recover_flx[ios]
✅ recoverUnsyncedChanges_resetErrorHandled_pbs[ios]
✅ recoverUnsyncedChanges_resetErrorHandled_flx[ios]
✅ recoverUnsyncedChanges_recoverFails_pbs[ios]
✅ recoverUnsyncedChanges_recoverFails_flx[ios]
✅ recoverUnsyncedChanges_executeClientReset_pbs[ios]
✅ recoverUnsyncedChanges_executeClientReset_flx[ios]
✅ recoverOrDiscardUnsyncedChanges_recover_pbs[ios]
✅ recoverOrDiscardUnsyncedChanges_recover_flx[ios]
✅ recoverOrDiscardUnsyncedChanges_discards_pbs[ios]
✅ recoverOrDiscardUnsyncedChanges_discards_flx[ios]
✅ recoverOrDiscardUnsyncedChanges_executeClientReset_pbs[ios]
✅ recoverOrDiscardUnsyncedChanges_executeClientReset_flx[ios]
✅ ./packages/test-sync/build/test-results/iosTest/TEST-io.realm.kotlin.test.mongodb.common.SyncClientTests.xml
7 tests were completed in 9s with 7 passed, 0 failed and 0 skipped.
✅ ./packages/test-sync/build/test-results/iosTest/TEST-io.realm.kotlin.test.mongodb.common.SyncConfigTests.xml
38 tests were completed in 41s with 37 passed, 0 failed and 1 skipped.
✅ ./packages/test-sync/build/test-results/iosTest/TEST-io.realm.kotlin.test.mongodb.common.SyncedRealmTests.xml
34 tests were completed in 94s with 29 passed, 0 failed and 5 skipped.
✅ ./packages/test-sync/build/test-results/iosTest/TEST-io.realm.kotlin.test.mongodb.common.SyncSessionTests.xml
22 tests were completed in 29s with 19 passed, 0 failed and 3 skipped.
✅ ./packages/test-sync/build/test-results/iosTest/TEST-io.realm.kotlin.test.mongodb.common.UserProfileTests.xml
3 tests were completed in 2s with 3 passed, 0 failed and 0 skipped.
✅ ./packages/test-sync/build/test-results/iosTest/TEST-io.realm.kotlin.test.mongodb.common.UserTests.xml
32 tests were completed in 41s with 32 passed, 0 failed and 0 skipped.
Annotations
github-actions / Unit Test Results - iOS arm64 Sync
io.realm.kotlin.test.mongodb.common.SyncClientResetIntegrationTests ► discardUnsyncedChanges_discards_attemptRecover_flx[ios]
Failed test found in:
./packages/test-sync/build/test-results/iosTest/TEST-io.realm.kotlin.test.mongodb.common.SyncClientResetIntegrationTests.xml
Error:
kotlinx.coroutines.TimeoutCancellationException: Timeout after 1m: <no message>
Raw output
kotlinx.coroutines.TimeoutCancellationException: Timeout after 1m: <no message>
at kotlin.Throwable#<init>(/opt/buildAgent/work/b2e1db4d8d903ca4/kotlin/kotlin-native/runtime/src/main/kotlin/kotlin/Throwable.kt:28)
at kotlin.Exception#<init>(/opt/buildAgent/work/b2e1db4d8d903ca4/kotlin/kotlin-native/runtime/src/main/kotlin/kotlin/Exceptions.kt:23)
at kotlin.RuntimeException#<init>(/opt/buildAgent/work/b2e1db4d8d903ca4/kotlin/kotlin-native/runtime/src/main/kotlin/kotlin/Exceptions.kt:34)
at kotlin.IllegalStateException#<init>(/opt/buildAgent/work/b2e1db4d8d903ca4/kotlin/kotlin-native/runtime/src/main/kotlin/kotlin/Exceptions.kt:70)
at kotlin.coroutines.cancellation.CancellationException#<init>(/opt/buildAgent/work/b2e1db4d8d903ca4/kotlin/kotlin-native/runtime/src/main/kotlin/kotlin/coroutines/cancellation/CancellationException.kt:11)
at kotlinx.coroutines.TimeoutCancellationException#<init>(/opt/buildAgent/work/44ec6e850d5c63f0/kotlinx-coroutines-core/common/src/Timeout.kt:172)
at kotlinx.coroutines.TimeoutCancellationException#<init>(/opt/buildAgent/work/44ec6e850d5c63f0/kotlinx-coroutines-core/common/src/Timeout.kt:177)
at io.realm.kotlin.test.util.$receiveOrFailCOROUTINE$0.invokeSuspend#internal(/Users/runner/work/realm-kotlin/realm-kotlin/packages/test-base/src/commonMain/kotlin/io/realm/kotlin/test/util/Utils.kt:141)
at kotlin.coroutines.native.internal.BaseContinuationImpl#invokeSuspend(/opt/buildAgent/work/b2e1db4d8d903ca4/kotlin/kotlin-native/runtime/src/main/kotlin/kotlin/coroutines/ContinuationImpl.kt:50)
at kotlin.coroutines.native.internal.BaseContinuationImpl#resumeWith(/opt/buildAgent/work/b2e1db4d8d903ca4/kotlin/kotlin-native/runtime/src/main/kotlin/kotlin/coroutines/ContinuationImpl.kt:30)
at kotlin.coroutines.Continuation#resumeWith(/opt/buildAgent/work/b2e1db4d8d903ca4/kotlin/libraries/stdlib/src/kotlin/coroutines/Continuation.kt:26)
at kotlinx.coroutines.internal.ScopeCoroutine#afterResume(/opt/buildAgent/work/44ec6e850d5c63f0/kotlinx-coroutines-core/common/src/internal/Scopes.kt:32)
at kotlinx.coroutines.AbstractCoroutine#afterResume(/opt/buildAgent/work/44ec6e850d5c63f0/kotlinx-coroutines-core/common/src/AbstractCoroutine.kt)
at kotlinx.coroutines.AbstractCoroutine#resumeWith(/opt/buildAgent/work/44ec6e850d5c63f0/kotlinx-coroutines-core/common/src/AbstractCoroutine.kt:102)
at kotlin.coroutines.Continuation#resumeWith(/opt/buildAgent/work/b2e1db4d8d903ca4/kotlin/libraries/stdlib/src/kotlin/coroutines/Continuation.kt:26)
at kotlin.coroutines.native.internal.BaseContinuationImpl#resumeWith(/opt/buildAgent/work/b2e1db4d8d903ca4/kotlin/kotlin-native/runtime/src/main/kotlin/kotlin/coroutines/ContinuationImpl.kt:43)
at kotlin.coroutines.Continuation#resumeWith(/opt/buildAgent/work/b2e1db4d8d903ca4/kotlin/libraries/stdlib/src/kotlin/coroutines/Continuation.kt:26)
at kotlinx.coroutines.DispatchedTask#run(/opt/buildAgent/work/44ec6e850d5c63f0/kotlinx-coroutines-core/common/src/internal/DispatchedTask.kt:104)
at kotlinx.coroutines.Runnable#run(/opt/buildAgent/work/44ec6e850d5c63f0/kotlinx-coroutines-core/native/src/Runnable.kt:14)
at kotlinx.coroutines.EventLoopImplBase#processNextEvent(/opt/buildAgent/work/44ec6e850d5c63f0/kotlinx-coroutines-core/common/src/EventLoop.common.kt:280)
at kotlinx.coroutines.EventLoop#processNextEvent(/opt/buildAgent/work/44ec6e850d5c63f0/kotlinx-coroutines-core/common/src/EventLoop.common.kt:52)
at kotlinx.coroutines.BlockingCoroutine.joinBlocking#internal(/opt/buildAgent/work/44ec6e850d5c63f0/kotlinx-coroutines-core/native/src/Builders.kt:120)
at kotlinx.coroutines#runBlocking(/opt/buildAgent/work/44ec6e850d5c63f0/kotlinx-coroutines-core/native/src/Builders.kt:59)
at io.realm.kotlin.internal.platform#runBlocking(/Users/runner/work/realm-kotlin/realm-kotlin/packages/library-base/src/nativeDarwin/kotlin/io/realm/kotlin/internal/platform/CoroutineUtils.kt:13)
at io.realm.kotlin.internal.platform#runBlocking$default(/Users/runner/work/realm-kotlin/realm-kotlin/packages/library-base/src/nativeDarwin/kotlin/io/realm/kotlin/internal/platform/CoroutineUtils.kt:9)
at io.realm.kotlin.test.mongodb.common.SyncClientResetIntegrationTests.discardUnsyncedChanges_discards_attemptRecover#internal(/Users/runner/work/realm-kotlin/realm-kotlin/packages/test-sync/src/commonTest/kotlin/io/realm/kotlin/test/mongodb/common/SyncClientResetIntegrationTests.kt:492)
at io.realm.kotlin.test.mongodb.common.SyncClientResetIntegrationTests.discardUnsyncedChanges_discards_attemptRecover_flx$lambda$8#internal(/Users/runner/work/realm-kotlin/realm-kotlin/packages/test-sync/src/commonTest/kotlin/io/realm/kotlin/test/mongodb/common/SyncClientResetIntegrationTests.kt:453)
at io.realm.kotlin.test.mongodb.common.SyncClientResetIntegrationTests.$discardUnsyncedChanges_discards_attemptRecover_flx$lambda$8$FUNCTION_REFERENCE$15.invoke#internal(/Users/runner/work/realm-kotlin/realm-kotlin/packages/test-sync/src/commonTest/kotlin/io/realm/kotlin/test/mongodb/common/SyncClientResetIntegrationTests.kt:452)
at io.realm.kotlin.test.mongodb.common.SyncClientResetIntegrationTests.$discardUnsyncedChanges_discards_attemptRecover_flx$lambda$8$FUNCTION_REFERENCE$15.$<bridge-UNNNNNNN>invoke(/Users/runner/work/realm-kotlin/realm-kotlin/packages/test-sync/src/commonTest/kotlin/io/realm/kotlin/test/mongodb/common/SyncClientResetIntegrationTests.kt:452)
at kotlin.Function5#invoke(/Users/teamcity/.gradle/daemon/8.4/[K][Suspend]Functions:1)
at io.realm.kotlin.test.mongodb.common.SyncClientResetIntegrationTests.TestEnvironment#performTest(/Users/runner/work/realm-kotlin/realm-kotlin/packages/test-sync/src/commonTest/kotlin/io/realm/kotlin/test/mongodb/common/SyncClientResetIntegrationTests.kt:139)
at io.realm.kotlin.test.mongodb.common.SyncClientResetIntegrationTests.Companion#performFlxTest(/Users/runner/work/realm-kotlin/realm-kotlin/packages/test-sync/src/commonTest/kotlin/io/realm/kotlin/test/mongodb/common/SyncClientResetIntegrationTests.kt:282)
at io.realm.kotlin.test.mongodb.common.SyncClientResetIntegrationTests.Companion#performFlxTest$default(/Users/runner/work/realm-kotlin/realm-kotlin/packages/test-sync/src/commonTest/kotlin/io/realm/kotlin/test/mongodb/common/SyncClientResetIntegrationTests.kt:270)
at io.realm.kotlin.test.mongodb.common.SyncClientResetIntegrationTests#discardUnsyncedChanges_discards_attemptRecover_flx(/Users/runner/work/realm-kotlin/realm-kotlin/packages/test-sync/src/commonTest/kotlin/io/realm/kotlin/test/mongodb/common/SyncClientResetIntegrationTests.kt:452)
at io.realm.kotlin.test.mongodb.common.$SyncClientResetIntegrationTests$test$0.$discardUnsyncedChanges_discards_attemptRecover_flx$FUNCTION_REFERENCE$95.invoke#internal(/Users/runner/work/realm-kotlin/realm-kotlin/packages/test-sync/src/commonTest/kotlin/io/realm/kotlin/test/mongodb/common/SyncClientResetIntegrationTests.kt:450)
at io.realm.kotlin.test.mongodb.common.$SyncClientResetIntegrationTests$test$0.$discardUnsyncedChanges_discards_attemptRecover_flx$FUNCTION_REFERENCE$95.$<bridge-UNNN>invoke(/Users/runner/work/realm-kotlin/realm-kotlin/packages/test-sync/src/commonTest/kotlin/io/realm/kotlin/test/mongodb/common/SyncClientResetIntegrationTests.kt:450)
at kotlin.Function1#invoke(/Users/teamcity/.gradle/daemon/8.4/[K][Suspend]Functions:1)
at kotlin.native.internal.test.BaseClassSuite.TestCase#doRun(/opt/buildAgent/work/b2e1db4d8d903ca4/kotlin/kotlin-native/runtime/src/main/kotlin/kotlin/native/internal/test/TestSuite.kt:177)
at kotlin.native.internal.test.TestCase#doRun(/opt/buildAgent/work/b2e1db4d8d903ca4/kotlin/kotlin-native/runtime/src/main/kotlin/kotlin/native/internal/test/TestSuite.kt:44)
at kotlin.native.internal.test.TestCase#run(/opt/buildAgent/work/b2e1db4d8d903ca4/kotlin/kotlin-native/runtime/src/main/kotlin/kotlin/native/internal/test/TestSuite.kt:52)
at kotlin.native.internal.test.TestCase#run(/opt/buildAgent/work/b2e1db4d8d903ca4/kotlin/kotlin-native/runtime/src/main/kotlin/kotlin/native/internal/test/TestSuite.kt:49)
at kotlin.native.internal.test.TestRunner.run#internal(/opt/buildAgent/work/b2e1db4d8d903ca4/kotlin/kotlin-native/runtime/src/main/kotlin/kotlin/native/internal/test/TestRunner.kt:263)
at kotlin.native.internal.test.TestRunner.runIteration#internal(/opt/buildAgent/work/b2e1db4d8d903ca4/kotlin/kotlin-native/runtime/src/main/kotlin/kotlin/native/internal/test/TestRunner.kt:289)
at kotlin.native.internal.test.TestRunner#run(/opt/buildAgent/work/b2e1db4d8d903ca4/kotlin/kotlin-native/runtime/src/main/kotlin/kotlin/native/internal/test/TestRunner.kt:304)
at kotlin.native.internal.test#testLauncherEntryPoint(/opt/buildAgent/work/b2e1db4d8d903ca4/kotlin/kotlin-native/runtime/src/main/kotlin/kotlin/native/internal/test/Launcher.kt:33)
at kotlin.native.internal.test#main(/opt/buildAgent/work/b2e1db4d8d903ca4/kotlin/kotlin-native/runtime/src/main/kotlin/kotlin/native/internal/test/Launcher.kt:38)
at <global>.Konan_start(/Users/runner/.gradle/daemon/7.6/entryPointOwner:1)
at <global>.Init_and_run_start(Unknown Source)
at <global>.0x0(Unknown Source)
at <global>.0x0(Unknown Source)
at <global>.0x0(Unknown Source)