[RKOTLIN-1114] Fix sync client config not applied #1389
537 passed, 2 failed and 27 skipped
✅ ./packages/test-sync/build/test-results/macosTest/TEST-io.realm.kotlin.test.mongodb.common.ApiKeyAuthTests.xml
19 tests were completed in 35s with 18 passed, 0 failed and 1 skipped.
✅ ./packages/test-sync/build/test-results/macosTest/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/macosTest/TEST-io.realm.kotlin.test.mongodb.common.AppTests.xml
23 tests were completed in 41s with 18 passed, 0 failed and 5 skipped.
✅ ./packages/test-sync/build/test-results/macosTest/TEST-io.realm.kotlin.test.mongodb.common.AsymmetricSyncTests.xml
11 tests were completed in 22s with 11 passed, 0 failed and 0 skipped.
✅ ./packages/test-sync/build/test-results/macosTest/TEST-io.realm.kotlin.test.mongodb.common.CredentialsTests.xml
5 tests were completed in 9s with 5 passed, 0 failed and 0 skipped.
✅ ./packages/test-sync/build/test-results/macosTest/TEST-io.realm.kotlin.test.mongodb.common.EmailPasswordAuthWithAutoConfirmTests.xml
20 tests were completed in 16s with 16 passed, 0 failed and 4 skipped.
✅ ./packages/test-sync/build/test-results/macosTest/TEST-io.realm.kotlin.test.mongodb.common.EmailPasswordAuthWithCustomFunctionTests.xml
5 tests were completed in 9s with 5 passed, 0 failed and 0 skipped.
✅ ./packages/test-sync/build/test-results/macosTest/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/macosTest/TEST-io.realm.kotlin.test.mongodb.common.FlexibleSyncConfigurationTests.xml
15 tests were completed in 25s with 14 passed, 0 failed and 1 skipped.
✅ ./packages/test-sync/build/test-results/macosTest/TEST-io.realm.kotlin.test.mongodb.common.FlexibleSyncIntegrationTests.xml
7 tests were completed in 21s with 7 passed, 0 failed and 0 skipped.
✅ ./packages/test-sync/build/test-results/macosTest/TEST-io.realm.kotlin.test.mongodb.common.FLXProgressListenerTests.xml
7 tests were completed in 26s with 7 passed, 0 failed and 0 skipped.
❌ ./packages/test-sync/build/test-results/macosTest/TEST-io.realm.kotlin.test.mongodb.common.FunctionsTests.xml
14 tests were completed in 39s with 13 passed, 1 failed and 0 skipped.
Test suite | Passed | Failed | Skipped | Time |
---|---|---|---|---|
io.realm.kotlin.test.mongodb.common.FunctionsTests | 13✅ | 1❌ | 39s |
❌ io.realm.kotlin.test.mongodb.common.FunctionsTests
✅ exhaustiveElementClassifiersTest[macos]
✅ exhaustiveCollectionTest[macos]
✅ exhaustiveBsonTypesTest[macos]
✅ unsupportedArgumentTypeThrows[macos]
✅ unsupportedReturnTypeThrows[macos]
✅ unknownFunction[macos]
✅ callFunction_sum[macos]
✅ callFunction_remoteError[macos]
✅ callFunction_null[macos]
✅ callFunction_void[macos]
❌ callFunction_afterLogout[macos]
kotlin.AssertionError: The exception message did not match.
✅ callFunction_authorizedOnly[macos]
✅ getApp[macos]
✅ getUser[macos]
✅ ./packages/test-sync/build/test-results/macosTest/TEST-io.realm.kotlin.test.mongodb.common.GeoSpatialTests.xml
5 tests were completed in 14s with 5 passed, 0 failed and 0 skipped.
✅ ./packages/test-sync/build/test-results/macosTest/TEST-io.realm.kotlin.test.mongodb.common.HttpLogObfuscatorTests.xml
8 tests were completed in 19s with 8 passed, 0 failed and 0 skipped.
✅ ./packages/test-sync/build/test-results/macosTest/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/macosTest/TEST-io.realm.kotlin.test.mongodb.common.internal.RealmSyncUtilsTest.xml
8 tests were completed in 1ms with 8 passed, 0 failed and 0 skipped.
✅ ./packages/test-sync/build/test-results/macosTest/TEST-io.realm.kotlin.test.mongodb.common.internal.SyncConnectionParamsTests.xml
1 tests were completed in 1ms with 1 passed, 0 failed and 0 skipped.
✅ ./packages/test-sync/build/test-results/macosTest/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/macosTest/TEST-io.realm.kotlin.test.mongodb.common.mongo.MongoCollectionFromClientTests.xml
55 tests were completed in 167s with 55 passed, 0 failed and 0 skipped.
✅ ./packages/test-sync/build/test-results/macosTest/TEST-io.realm.kotlin.test.mongodb.common.mongo.MongoCollectionFromDatabaseTests.xml
54 tests were completed in 163s with 54 passed, 0 failed and 0 skipped.
✅ ./packages/test-sync/build/test-results/macosTest/TEST-io.realm.kotlin.test.mongodb.common.mongo.MongoDatabaseTests.xml
5 tests were completed in 7s with 5 passed, 0 failed and 0 skipped.
✅ ./packages/test-sync/build/test-results/macosTest/TEST-io.realm.kotlin.test.mongodb.common.mongo.MongoDBSerializerTests.xml
9 tests were completed in 23ms with 9 passed, 0 failed and 0 skipped.
✅ ./packages/test-sync/build/test-results/macosTest/TEST-io.realm.kotlin.test.mongodb.common.MutableSubscriptionSetTests.xml
21 tests were completed in 33s with 20 passed, 0 failed and 1 skipped.
✅ ./packages/test-sync/build/test-results/macosTest/TEST-io.realm.kotlin.test.mongodb.common.nonlatin.NonLatinTests.xml
1 tests were completed in 2s with 1 passed, 0 failed and 0 skipped.
✅ ./packages/test-sync/build/test-results/macosTest/TEST-io.realm.kotlin.test.mongodb.common.PBSProgressListenerTests.xml
8 tests were completed in 13s with 4 passed, 0 failed and 4 skipped.
✅ ./packages/test-sync/build/test-results/macosTest/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/macosTest/TEST-io.realm.kotlin.test.mongodb.common.serializer.BsonEncoderTests.xml
12 tests were completed in 7ms with 12 passed, 0 failed and 0 skipped.
✅ ./packages/test-sync/build/test-results/macosTest/TEST-io.realm.kotlin.test.mongodb.common.SubscriptionExtensionsTests.xml
16 tests were completed in 43s with 16 passed, 0 failed and 0 skipped.
❌ ./packages/test-sync/build/test-results/macosTest/TEST-io.realm.kotlin.test.mongodb.common.SubscriptionSetTests.xml
19 tests were completed in 43s with 18 passed, 1 failed and 0 skipped.
Test suite | Passed | Failed | Skipped | Time |
---|---|---|---|---|
io.realm.kotlin.test.mongodb.common.SubscriptionSetTests | 18✅ | 1❌ | 43s |
❌ io.realm.kotlin.test.mongodb.common.SubscriptionSetTests
✅ realmSubscriptionsReturnSameInstance[macos]
✅ subscriptions_failOnNonFlexibleSyncRealms[macos]
✅ subscriptions_throwsOnClosedRealm[macos]
✅ initialSubscriptions[macos]
✅ findByQuery[macos]
❌ findByName[macos]
io.ktor.client.network.sockets.SocketTimeoutException: Socket timeout has expired [url=http://54.158.228.105:34278/api/admin/v3.0/auth/providers/local-userpass/login, socket_timeout=60000] ms
✅ state[macos]
✅ size[macos]
✅ errorMessage[macos]
✅ iterator_zeroSize[macos]
✅ iterator[macos]
✅ waitForSynchronizationInitialSubscriptions[macos]
✅ waitForSynchronizationInitialEmptySubscriptionSet[macos]
✅ waitForSynchronization_success[macos]
✅ waitForSynchronization_error[macos]
✅ waitForSynchronization_errorOnDescriptors[macos]
✅ waitForSynchronization_timeOut[macos]
✅ waitForSynchronization_timeOutFails[macos]
✅ methodsOnClosedRealm[macos]
✅ ./packages/test-sync/build/test-results/macosTest/TEST-io.realm.kotlin.test.mongodb.common.SubscriptionTests.xml
6 tests were completed in 11s with 6 passed, 0 failed and 0 skipped.
✅ ./packages/test-sync/build/test-results/macosTest/TEST-io.realm.kotlin.test.mongodb.common.SyncClientResetIntegrationTests.xml
32 tests were completed in 89s with 32 passed, 0 failed and 0 skipped.
✅ ./packages/test-sync/build/test-results/macosTest/TEST-io.realm.kotlin.test.mongodb.common.SyncClientTests.xml
7 tests were completed in 10s with 7 passed, 0 failed and 0 skipped.
✅ ./packages/test-sync/build/test-results/macosTest/TEST-io.realm.kotlin.test.mongodb.common.SyncConfigTests.xml
38 tests were completed in 47s with 37 passed, 0 failed and 1 skipped.
✅ ./packages/test-sync/build/test-results/macosTest/TEST-io.realm.kotlin.test.mongodb.common.SyncedRealmTests.xml
35 tests were completed in 100s with 30 passed, 0 failed and 5 skipped.
✅ ./packages/test-sync/build/test-results/macosTest/TEST-io.realm.kotlin.test.mongodb.common.SyncSessionTests.xml
22 tests were completed in 32s with 19 passed, 0 failed and 3 skipped.
✅ ./packages/test-sync/build/test-results/macosTest/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/macosTest/TEST-io.realm.kotlin.test.mongodb.common.UserTests.xml
32 tests were completed in 46s with 32 passed, 0 failed and 0 skipped.
Annotations
github-actions / Unit Test Results - MacOS x64 Sync
io.realm.kotlin.test.mongodb.common.FunctionsTests ► callFunction_afterLogout[macos]
Failed test found in:
./packages/test-sync/build/test-results/macosTest/TEST-io.realm.kotlin.test.mongodb.common.FunctionsTests.xml
Error:
kotlin.AssertionError: The exception message did not match.
Raw output
kotlin.AssertionError: The exception message did not match.
Expected:
[Service][Unknown(4351)] unauthorized
Actual:
[Service][InvalidSession(4301)] invalid session: unauthorized. Server log entry: http://54.158.228.105:34278/groups/66b3307f54934bb4a97e5c7a/apps/66b3315454934bb4a97e80fa/logs?co_id=66b3317554934bb4a97e8479
at kotlin.Error#<init>(/opt/buildAgent/work/b2e1db4d8d903ca4/kotlin/kotlin-native/runtime/src/main/kotlin/kotlin/Exceptions.kt:14)
at kotlin.AssertionError#<init>(/opt/buildAgent/work/b2e1db4d8d903ca4/kotlin/kotlin-native/runtime/src/main/kotlin/kotlin/Exceptions.kt:132)
at io.realm.kotlin.test.mongodb.common.utils#assertFailsWithMessage(/Users/runner/work/realm-kotlin/realm-kotlin/packages/test-sync/src/commonTest/kotlin/io/realm/kotlin/test/mongodb/common/utils/Utils.kt:42)
at io.realm.kotlin.test.mongodb.common.FunctionsTests#callFunction_afterLogout(/Users/runner/work/realm-kotlin/realm-kotlin/packages/test-sync/src/commonTest/kotlin/io/realm/kotlin/test/mongodb/common/FunctionsTests.kt:1023)
at io.realm.kotlin.test.mongodb.common.$FunctionsTests$test$0.$callFunction_afterLogout$FUNCTION_REFERENCE$238.invoke#internal(/Users/runner/work/realm-kotlin/realm-kotlin/packages/test-sync/src/commonTest/kotlin/io/realm/kotlin/test/mongodb/common/FunctionsTests.kt:1018)
at io.realm.kotlin.test.mongodb.common.$FunctionsTests$test$0.$callFunction_afterLogout$FUNCTION_REFERENCE$238.$<bridge-UNNN>invoke(/Users/runner/work/realm-kotlin/realm-kotlin/packages/test-sync/src/commonTest/kotlin/io/realm/kotlin/test/mongodb/common/FunctionsTests.kt:1018)
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)
github-actions / Unit Test Results - MacOS x64 Sync
io.realm.kotlin.test.mongodb.common.SubscriptionSetTests ► findByName[macos]
Failed test found in:
./packages/test-sync/build/test-results/macosTest/TEST-io.realm.kotlin.test.mongodb.common.SubscriptionSetTests.xml
Error:
io.ktor.client.network.sockets.SocketTimeoutException: Socket timeout has expired [url=http://54.158.228.105:34278/api/admin/v3.0/auth/providers/local-userpass/login, socket_timeout=60000] ms
Raw output
io.ktor.client.network.sockets.SocketTimeoutException: Socket timeout has expired [url=http://54.158.228.105:34278/api/admin/v3.0/auth/providers/local-userpass/login, socket_timeout=60000] ms
at kotlin.Exception#<init>(/opt/buildAgent/work/b2e1db4d8d903ca4/kotlin/kotlin-native/runtime/src/main/kotlin/kotlin/Exceptions.kt:25)
at io.ktor.utils.io.errors.IOException#<init>(/opt/buildAgent/work/8d547b974a7be21f/ktor-io/posix/src/io/ktor/utils/io/errors/IOException.kt:4)
at io.ktor.client.network.sockets.SocketTimeoutException#<init>(/opt/buildAgent/work/8d547b974a7be21f/ktor-client/ktor-client-core/posix/src/io/ktor/client/network.sockets/TimeoutExceptionsNative.kt:25)
at io.ktor.client.plugins#SocketTimeoutException(/opt/buildAgent/work/8d547b974a7be21f/ktor-client/ktor-client-core/common/src/io/ktor/client/plugins/HttpTimeout.kt:239)
at io.ktor.client.plugins#SocketTimeoutException$default(/opt/buildAgent/work/8d547b974a7be21f/ktor-client/ktor-client-core/common/src/io/ktor/client/plugins/HttpTimeout.kt:236)
at io.ktor.client.engine.darwin#handleNSError(/opt/buildAgent/work/8d547b974a7be21f/ktor-client/ktor-client-darwin/darwin/src/io/ktor/client/engine/darwin/TimeoutUtils.kt:28)
at io.ktor.client.engine.darwin.internal.DarwinTaskHandler#complete(/opt/buildAgent/work/8d547b974a7be21f/ktor-client/ktor-client-darwin/darwin/src/io/ktor/client/engine/darwin/internal/DarwinTaskHandler.kt:57)
at io.ktor.client.engine.darwin.KtorNSURLSessionDelegate#objc:URLSession:task:didCompleteWithError:(/opt/buildAgent/work/8d547b974a7be21f/ktor-client/ktor-client-darwin/darwin/src/io/ktor/client/engine/darwin/KtorNSURLSessionDelegate.kt:63)
at <global>._696f2e6b746f723a6b746f722d636c69656e742d64617277696e2f6f70742f6275696c644167656e742f776f726b2f386435343762393734613762653231662f6b746f722d636c69656e742f6b746f722d636c69656e742d64617277696e2f64617277696e2f7372632f696f2f6b746f722f636c69656e742f656e67696e652f64617277696e2f4b746f724e5355524c53657373696f6e44656c65676174652e6b74_knbridge8(/opt/buildAgent/work/8d547b974a7be21f/ktor-client/ktor-client-darwin/darwin/src/io/ktor/client/engine/darwin/KtorNSURLSessionDelegate.kt:61)
at <global>._CFHostIsDomainTopLevelForCertificatePolicy(Unknown Source)
at <global>._dispatch_call_block_and_release(Unknown Source)
at <global>._dispatch_client_callout(Unknown Source)
at <global>._dispatch_lane_serial_drain(Unknown Source)
at <global>._dispatch_lane_invoke(Unknown Source)
at <global>._dispatch_workloop_worker_thread(Unknown Source)
at <global>._pthread_wqthread(Unknown Source)
at <global>.start_wqthread(Unknown Source)