Fix list indexof, remove and contains #201
399 passed, 1 failed and 18 skipped
✅ ./packages/test-sync/build/test-results/iosTest/TEST-io.realm.kotlin.test.mongodb.common.ApiKeyAuthTests.xml
19 tests were completed in 24s 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 28 passed, 0 failed and 0 skipped.
✅ ./packages/test-sync/build/test-results/iosTest/TEST-io.realm.kotlin.test.mongodb.common.AppTests.xml
17 tests were completed in 38s with 16 passed, 0 failed and 1 skipped.
✅ ./packages/test-sync/build/test-results/iosTest/TEST-io.realm.kotlin.test.mongodb.common.AsymmetricSyncTests.xml
11 tests were completed in 21s 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 5s 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 10s 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 7s 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 25s 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 20s 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 25s 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 14s 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 16s 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 8s 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 1ms 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.MutableSubscriptionSetTests.xml
21 tests were completed in 34s 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 2s with 1 passed, 0 failed and 0 skipped.
✅ ./packages/test-sync/build/test-results/iosTest/TEST-io.realm.kotlin.test.mongodb.common.ProgressListenerTests.xml
9 tests were completed in 98s with 9 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 9ms 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 42s 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 39s 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 84s with 32 passed, 0 failed and 0 skipped.
✅ ./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
40 tests were completed in 42s with 39 passed, 0 failed and 1 skipped.
✅ ./packages/test-sync/build/test-results/iosTest/TEST-io.realm.kotlin.test.mongodb.common.SyncedRealmTests.xml
33 tests were completed in 73s with 28 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 26s 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
28 tests were completed in 36s with 27 passed, 1 failed and 0 skipped.
Test suite | Passed | Failed | Skipped | Time |
---|---|---|---|---|
io.realm.kotlin.test.mongodb.common.UserTests | 27✅ | 1❌ | 36s |
❌ io.realm.kotlin.test.mongodb.common.UserTests
✅ getId[ios]
✅ getApp[ios]
✅ getState_anonymousUser[ios]
✅ getState_emailUser[ios]
✅ getIdentities[ios]
✅ getProviderType[ios]
✅ getAccessToken[ios]
✅ getRefreshToken[ios]
✅ getDeviceId[ios]
✅ logOut[ios]
✅ logOutUserInstanceImpactsCurrentUser[ios]
✅ logOutCurrentUserImpactsOtherInstances[ios]
✅ repeatedLogInAndOut[ios]
✅ removeUser[ios]
✅ removeUser_throwsIfUserAlreadyRemoved[ios]
✅ deleteUser[ios]
✅ deleteUser_loggedOutThrows[ios]
✅ deleteUser_throwsIfUserAlreadyDeleted[ios]
✅ linkCredentials_emailPassword[ios]
✅ linkCredentials_twoEmailAccountsThrows[ios]
✅ linkCredentials_addingAnonymousToEmailThrows[ios]
✅ linkCredentials_linkingWithItselfThrows[ios]
❌ isLoggedIn[ios]
io.realm.kotlin.mongodb.exceptions.ConnectionException: [Custom][CustomError(4000)] io.ktor.client.network.sockets.SocketTimeoutException: Socket timeout has expired [url=http://52.23.193.151:35674/api/client/v2.0/app/test-app-pbs-tdyhx/location, socket_timeout=120000] ms.
✅ equals[ios]
✅ hashCode_user[ios]
✅ customData_initiallyNull[ios]
✅ customData_refresh[ios]
✅ customData_refreshByLogout[ios]
Annotations
github-actions / Unit Test Results - iOS x64 Sync
io.realm.kotlin.test.mongodb.common.UserTests ► isLoggedIn[ios]
Failed test found in:
./packages/test-sync/build/test-results/iosTest/TEST-io.realm.kotlin.test.mongodb.common.UserTests.xml
Error:
io.realm.kotlin.mongodb.exceptions.ConnectionException: [Custom][CustomError(4000)] io.ktor.client.network.sockets.SocketTimeoutException: Socket timeout has expired [url=http://52.23.193.151:35674/api/client/v2.0/app/test-app-pbs-tdyhx/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://52.23.193.151:35674/api/client/v2.0/app/test-app-pbs-tdyhx/location, socket_timeout=120000] ms.
at kotlin.Throwable#<init>(/opt/buildAgent/work/f43969c6214a19e7/kotlin/kotlin-native/runtime/src/main/kotlin/kotlin/Throwable.kt:28)
at kotlin.Exception#<init>(/opt/buildAgent/work/f43969c6214a19e7/kotlin/kotlin-native/runtime/src/main/kotlin/kotlin/Exceptions.kt:23)
at kotlin.RuntimeException#<init>(/opt/buildAgent/work/f43969c6214a19e7/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:53)
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:112)
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:63)
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:3590)
at io.realm.kotlin.internal.interop.RealmInterop.realm_app_log_in_with_credentials$lambda$33#internal(/Users/runner/work/realm-kotlin/realm-kotlin/packages/cinterop/src/nativeDarwin/kotlin/io/realm/kotlin/internal/interop/RealmInterop.kt:2118)
at <global>._696f2e7265616c6d2e6b6f746c696e3a63696e7465726f702f55736572732f72756e6e65722f776f726b2f7265616c6d2d6b6f746c696e2f7265616c6d2d6b6f746c696e2f7061636b616765732f63696e7465726f702f7372632f6e617469766544617277696e2f6b6f746c696e2f696f2f7265616c6d2f6b6f746c696e2f696e7465726e616c2f696e7465726f702f5265616c6d496e7465726f702e6b74_knbridge406(/Users/runner/work/realm-kotlin/realm-kotlin/packages/cinterop/src/nativeDarwin/kotlin/io/realm/kotlin/internal/interop/RealmInterop.kt:2116)
at <global>._ZN5realm4util14UniqueFunctionIFvRKNSt3__110shared_ptrINS_8SyncUserEEENS2_8optionalINS_3app8AppErrorEEEEE12SpecificImplIZNS_5c_apiL13make_callbackEPFvPvP10realm_userPK15realm_app_errorESG_PFvSG_EEUlS5_SB_E_E4callES7_OSB_(Unknown Source)
at <global>._ZN5realm4util14UniqueFunctionIFvRKNS_3app8ResponseEEE12SpecificImplIZNS2_3App23log_in_with_credentialsERKNS2_14AppCredentialsERKNSt3__110shared_ptrINS_8SyncUserEEEONS1_IFvSI_NSD_8optionalINS2_8AppErrorEEEEEEE3$_3E4callES5_(Unknown Source)
at <global>._ZN5realm4util14UniqueFunctionIFvNSt3__18optionalINS_3app8AppErrorEEEEE12SpecificImplIZNS4_3App26update_location_and_resendEONS4_7RequestEONS1_IFvRKNS4_8ResponseEEEEONS3_INS2_12basic_stringIcNS2_11char_traitsIcEENS2_9allocatorIcEEEEEEE3$_8E4callEOS6_(Unknown Source)
at <global>._ZN5realm4util14UniqueFunctionIFvONS_3app7RequestERKNS2_8ResponseEEE12SpecificImplIZNS2_3App16request_locationEONS1_IFvNSt3__18optionalINS2_8AppErrorEEEEEEONSD_INSC_12basic_stringIcNSC_11char_traitsIcEENSC_9allocatorIcEEEEEESQ_iE3$_7E4callES4_S7_(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:3642)
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:3608)
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#resumeWith(/opt/buildAgent/work/f43969c6214a19e7/kotlin/kotlin-native/runtime/src/main/kotlin/kotlin/coroutines/ContinuationImpl.kt:30)
at kotlinx.coroutines.DispatchedTask#run(/opt/buildAgent/work/44ec6e850d5c63f0/kotlinx-coroutines-core/common/src/internal/DispatchedTask.kt:104)
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#resumeWith(/opt/buildAgent/work/f43969c6214a19e7/kotlin/kotlin-native/runtime/src/main/kotlin/kotlin/coroutines/ContinuationImpl.kt:30)
at kotlinx.coroutines.DispatchedTask#run(/opt/buildAgent/work/44ec6e850d5c63f0/kotlinx-coroutines-core/common/src/internal/DispatchedTask.kt:106)
at kotlinx.coroutines.EventLoopImplBase#processNextEvent(/opt/buildAgent/work/44ec6e850d5c63f0/kotlinx-coroutines-core/common/src/EventLoop.common.kt:280)
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 <global>.WorkerLaunchpad(/opt/buildAgent/work/f43969c6214a19e7/kotlin/kotlin-native/runtime/src/main/kotlin/kotlin/native/concurrent/Internal.kt:107)
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)