[RKOTLIN-1114] Fix sync client config not applied #2559
538 passed, 1 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 57s with 17 passed, 1 failed and 1 skipped.
Test suite | Passed | Failed | Skipped | Time |
---|---|---|---|---|
io.realm.kotlin.test.mongodb.common.ApiKeyAuthTests | 17✅ | 1❌ | 1⚪ | 57s |
❌ io.realm.kotlin.test.mongodb.common.ApiKeyAuthTests
✅ create[macos]
✅ create_throwsWithInvalidName[macos]
✅ create_throwsWithNoName[macos]
✅ fetch[macos]
✅ fetch_nonExistingKeyThrows[macos]
✅ fetchAll[macos]
✅ fetchAll_noExistingKeysGiveEmptyList[macos]
✅ delete[macos]
✅ delete_nonExisitingKeyNoOps[macos]
✅ enable[macos]
✅ enable_alreadyEnabled[macos]
✅ enable_nonExistingKeyThrows[macos]
✅ disable[macos]
✅ disable_alreadyDisabled[macos]
✅ disable_nonExistingKeyThrows[macos]
✅ callMethodWithLoggedOutUser[macos]
⚪ callMethodsWithApiKeysDisabled[macos]
❌ getUser[macos]
io.realm.kotlin.mongodb.exceptions.ConnectionException: [Custom][CustomError(4000)] io.ktor.client.network.sockets.SocketTimeoutException: Socket timeout has expired [url=http://3.87.49.119:58073/api/client/v2.0/app/test-app-pbs-shqitfn/location, socket_timeout=120000] ms.
✅ getApp[macos]
✅ ./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 32s 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 18s 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 6s 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 12s 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 7s 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 22s 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 18s 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 23s 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 28s with 14 passed, 0 failed and 0 skipped.
✅ ./packages/test-sync/build/test-results/macosTest/TEST-io.realm.kotlin.test.mongodb.common.GeoSpatialTests.xml
5 tests were completed in 12s 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 16s 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 6s 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 7s 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 128s 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 123s 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 5s 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 27ms 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 29s 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 12s 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 10ms 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 37s 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 134s with 19 passed, 0 failed and 0 skipped.
✅ ./packages/test-sync/build/test-results/macosTest/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/macosTest/TEST-io.realm.kotlin.test.mongodb.common.SyncClientResetIntegrationTests.xml
32 tests were completed in 76s 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 8s 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 36s 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 81s 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 28s 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 38s with 32 passed, 0 failed and 0 skipped.
Annotations
github-actions / Unit Test Results - MacOS x64 Sync
io.realm.kotlin.test.mongodb.common.ApiKeyAuthTests ► getUser[macos]
Failed test found in:
./packages/test-sync/build/test-results/macosTest/TEST-io.realm.kotlin.test.mongodb.common.ApiKeyAuthTests.xml
Error:
io.realm.kotlin.mongodb.exceptions.ConnectionException: [Custom][CustomError(4000)] io.ktor.client.network.sockets.SocketTimeoutException: Socket timeout has expired [url=http://3.87.49.119:58073/api/client/v2.0/app/test-app-pbs-shqitfn/location, socket_timeout=120000] ms.
Raw output
io.realm.kotlin.mongodb.exceptions.ConnectionException: [Custom][CustomError(4000)] io.ktor.client.network.sockets.SocketTimeoutException: Socket timeout has expired [url=http://3.87.49.119:58073/api/client/v2.0/app/test-app-pbs-shqitfn/location, socket_timeout=120000] ms.
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 io.realm.kotlin.exceptions.RealmException#<init>(/Users/runner/work/realm-kotlin/realm-kotlin/packages/library-base/src/commonMain/kotlin/io/realm/kotlin/exceptions/RealmException.kt:12)
at io.realm.kotlin.mongodb.exceptions.AppException#<init>(/Users/runner/work/realm-kotlin/realm-kotlin/packages/library-sync/src/commonMain/kotlin/io/realm/kotlin/mongodb/exceptions/AppException.kt:98)
at io.realm.kotlin.mongodb.exceptions.ServiceException#<init>(/Users/runner/work/realm-kotlin/realm-kotlin/packages/library-sync/src/commonMain/kotlin/io/realm/kotlin/mongodb/exceptions/ServiceExceptions.kt:37)
at io.realm.kotlin.mongodb.exceptions.ServiceException#<init>(/Users/runner/work/realm-kotlin/realm-kotlin/packages/library-sync/src/commonMain/kotlin/io/realm/kotlin/mongodb/exceptions/ServiceExceptions.kt:34)
at io.realm.kotlin.mongodb.exceptions.ConnectionException#<init>(/Users/runner/work/realm-kotlin/realm-kotlin/packages/library-sync/src/commonMain/kotlin/io/realm/kotlin/mongodb/exceptions/ServiceExceptions.kt:52)
at io.realm.kotlin.mongodb.internal#convertAppError(/Users/runner/work/realm-kotlin/realm-kotlin/packages/library-sync/src/commonMain/kotlin/io/realm/kotlin/mongodb/internal/RealmSyncUtils.kt:125)
at io.realm.kotlin.mongodb.internal.object-1.onError#internal(/Users/runner/work/realm-kotlin/realm-kotlin/packages/library-sync/src/commonMain/kotlin/io/realm/kotlin/mongodb/internal/RealmSyncUtils.kt:62)
at io.realm.kotlin.internal.interop.AppCallback#onError(/Users/runner/work/realm-kotlin/realm-kotlin/packages/cinterop/src/commonMain/kotlin/io/realm/kotlin/internal/interop/Callback.kt:33)
at io.realm.kotlin.internal.interop.RealmInterop.handleAppCallback#internal(/Users/runner/work/realm-kotlin/realm-kotlin/packages/cinterop/src/nativeDarwin/kotlin/io/realm/kotlin/internal/interop/RealmInterop.kt:3637)
at io.realm.kotlin.internal.interop.RealmInterop.realm_app_email_password_provider_client_register_email$lambda$104#internal(/Users/runner/work/realm-kotlin/realm-kotlin/packages/cinterop/src/nativeDarwin/kotlin/io/realm/kotlin/internal/interop/RealmInterop.kt:3147)
at <global>._696f2e7265616c6d2e6b6f746c696e3a63696e7465726f702f55736572732f72756e6e65722f776f726b2f7265616c6d2d6b6f746c696e2f7265616c6d2d6b6f746c696e2f7061636b616765732f63696e7465726f702f7372632f6e617469766544617277696e2f6b6f746c696e2f696f2f7265616c6d2f6b6f746c696e2f696e7465726e616c2f696e7465726f702f5265616c6d496e7465726f702e6b74_knbridge705(/Users/runner/work/realm-kotlin/realm-kotlin/packages/cinterop/src/nativeDarwin/kotlin/io/realm/kotlin/internal/interop/RealmInterop.kt:3146)
at <global>._ZN5realm4util14UniqueFunctionIFvNSt3__18optionalINS_3app8AppErrorEEEEE12SpecificImplIZNS_5c_apiL13make_callbackEPFvPvPK15realm_app_errorESB_PFvSB_EEUlS6_E_E4callEOS6_(Unknown Source)
at <global>._ZN5realm4util14UniqueFunctionIFvONSt3__110unique_ptrINS_3app7RequestENS2_14default_deleteIS5_EEEERKNS4_8ResponseEEE12SpecificImplIZNS4_3App4postEONS2_12basic_stringIcNS2_11char_traitsIcEENS2_9allocatorIcEEEEONS1_IFvNS2_8optionalINS4_8AppErrorEEEEEERKNS_4bson12BsonDocumentEE3$_9E4callES9_SC_(Unknown Source)
at <global>._ZN5realm4util14UniqueFunctionIFvNSt3__18optionalINS_3app8AppErrorEEEEE12SpecificImplIZNS4_3App26update_location_and_resendEONS2_10unique_ptrINS4_7RequestENS2_14default_deleteISC_EEEEONS1_IFvSG_RKNS4_8ResponseEEEEONS3_INS2_12basic_stringIcNS2_11char_traitsIcEENS2_9allocatorIcEEEEEEE3$_8E4callEOS6_(Unknown Source)
at <global>._ZN5realm4util14UniqueFunctionIFvRKNS_3app8ResponseEEE12SpecificImplIZNS2_3App16request_locationEONS1_IFvNSt3__18optionalINS2_8AppErrorEEEEEEONSB_INSA_12basic_stringIcNSA_11char_traitsIcEENSA_9allocatorIcEEEEEESO_iE3$_7E4callES5_(Unknown Source)
at <global>.realm_http_transport_complete_request(Unknown Source)
at io.realm.kotlin.internal.interop.RealmInterop.<init>$lambda$1$lambda$0#internal(/Users/runner/work/realm-kotlin/realm-kotlin/packages/cinterop/src/nativeDarwin/kotlin/io/realm/kotlin/internal/interop/RealmInterop.kt:3689)
at io.realm.kotlin.internal.interop.RealmInterop.$<init>$lambda$1$lambda$0$FUNCTION_REFERENCE$23.response#internal(/Users/runner/work/realm-kotlin/realm-kotlin/packages/cinterop/src/nativeDarwin/kotlin/io/realm/kotlin/internal/interop/RealmInterop.kt:3655)
at io.realm.kotlin.internal.interop.sync.ResponseCallback#response(/Users/runner/work/realm-kotlin/realm-kotlin/packages/cinterop/src/commonMain/kotlin/io/realm/kotlin/internal/interop/sync/NetworkTransport.kt:48)
at io.realm.kotlin.mongodb.internal.KtorNetworkTransport.$sendRequest$lambda$2COROUTINE$1.invokeSuspend#internal(/Users/runner/work/realm-kotlin/realm-kotlin/packages/library-sync/src/commonMain/kotlin/io/realm/kotlin/mongodb/internal/KtorNetworkTransport.kt:121)
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.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.MultiWorkerDispatcher.$workerRunLoop$lambda$2COROUTINE$0.invokeSuspend#internal(/opt/buildAgent/work/44ec6e850d5c63f0/kotlinx-coroutines-core/native/src/MultithreadedDispatchers.kt:101)
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.DispatchedTask#run(/opt/buildAgent/work/44ec6e850d5c63f0/kotlinx-coroutines-core/common/src/internal/DispatchedTask.kt:106)
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 kotlinx.coroutines#runBlocking$default(/opt/buildAgent/work/44ec6e850d5c63f0/kotlinx-coroutines-core/native/src/Builders.kt:36)
at kotlinx.coroutines.MultiWorkerDispatcher.workerRunLoop#internal(/opt/buildAgent/work/44ec6e850d5c63f0/kotlinx-coroutines-core/native/src/MultithreadedDispatchers.kt:93)
at kotlinx.coroutines.MultiWorkerDispatcher.<init>$lambda$1$lambda$0#internal(/opt/buildAgent/work/44ec6e850d5c63f0/kotlinx-coroutines-core/native/src/MultithreadedDispatchers.kt:80)
at kotlinx.coroutines.MultiWorkerDispatcher.$<init>$lambda$1$lambda$0$FUNCTION_REFERENCE$4.invoke#internal(/opt/buildAgent/work/44ec6e850d5c63f0/kotlinx-coroutines-core/native/src/MultithreadedDispatchers.kt:80)
at kotlinx.coroutines.MultiWorkerDispatcher.$<init>$lambda$1$lambda$0$FUNCTION_REFERENCE$4.$<bridge-UNN>invoke(/opt/buildAgent/work/44ec6e850d5c63f0/kotlinx-coroutines-core/native/src/MultithreadedDispatchers.kt:80)
at kotlin.Function0#invoke(/Users/teamcity/.gradle/daemon/8.4/[K][Suspend]Functions:1)
at <global>.WorkerLaunchpad(/opt/buildAgent/work/b2e1db4d8d903ca4/kotlin/kotlin-native/runtime/src/main/kotlin/kotlin/native/concurrent/Internal.kt:106)
at <global>._ZN6Worker19processQueueElementEb(Unknown Source)
at <global>._ZN12_GLOBAL__N_113workerRoutineEPv(Unknown Source)
at <global>._pthread_start(Unknown Source)
at <global>.thread_start(Unknown Source)