Skip to content

[RKOTLIN-1115] Add support for switching user #2573

[RKOTLIN-1115] Add support for switching user

[RKOTLIN-1115] Add support for switching user #2573

GitHub Actions / Unit Test Results - iOS x64 Sync failed Aug 6, 2024 in 0s

539 passed, 2 failed and 27 skipped

Tests failed

Report Passed Failed Skipped Time
./packages/test-sync/build/test-results/iosTest/TEST-io.realm.kotlin.test.mongodb.common.ApiKeyAuthTests.xml 18✅ 1⚪ 36s
./packages/test-sync/build/test-results/iosTest/TEST-io.realm.kotlin.test.mongodb.common.AppConfigurationTests.xml 27✅ 1⚪ 3s
./packages/test-sync/build/test-results/iosTest/TEST-io.realm.kotlin.test.mongodb.common.AppTests.xml 19✅ 1❌ 5⚪ 46s
./packages/test-sync/build/test-results/iosTest/TEST-io.realm.kotlin.test.mongodb.common.AsymmetricSyncTests.xml 11✅ 24s
./packages/test-sync/build/test-results/iosTest/TEST-io.realm.kotlin.test.mongodb.common.CredentialsTests.xml 5✅ 9s
./packages/test-sync/build/test-results/iosTest/TEST-io.realm.kotlin.test.mongodb.common.EmailPasswordAuthWithAutoConfirmTests.xml 16✅ 4⚪ 17s
./packages/test-sync/build/test-results/iosTest/TEST-io.realm.kotlin.test.mongodb.common.EmailPasswordAuthWithCustomFunctionTests.xml 5✅ 9s
./packages/test-sync/build/test-results/iosTest/TEST-io.realm.kotlin.test.mongodb.common.EmailPasswordAuthWithEmailConfirmTests.xml 2✅ 6s
./packages/test-sync/build/test-results/iosTest/TEST-io.realm.kotlin.test.mongodb.common.FlexibleSyncConfigurationTests.xml 14✅ 1⚪ 27s
./packages/test-sync/build/test-results/iosTest/TEST-io.realm.kotlin.test.mongodb.common.FlexibleSyncIntegrationTests.xml 7✅ 26s
./packages/test-sync/build/test-results/iosTest/TEST-io.realm.kotlin.test.mongodb.common.FLXProgressListenerTests.xml 7✅ 35s
./packages/test-sync/build/test-results/iosTest/TEST-io.realm.kotlin.test.mongodb.common.FunctionsTests.xml 13✅ 1❌ 39s
./packages/test-sync/build/test-results/iosTest/TEST-io.realm.kotlin.test.mongodb.common.GeoSpatialTests.xml 5✅ 19s
./packages/test-sync/build/test-results/iosTest/TEST-io.realm.kotlin.test.mongodb.common.HttpLogObfuscatorTests.xml 8✅ 20s
./packages/test-sync/build/test-results/iosTest/TEST-io.realm.kotlin.test.mongodb.common.internal.KtorNetworkTransportTest.xml 3✅ 1⚪ 7s
./packages/test-sync/build/test-results/iosTest/TEST-io.realm.kotlin.test.mongodb.common.internal.RealmSyncUtilsTest.xml 8✅ 1ms
./packages/test-sync/build/test-results/iosTest/TEST-io.realm.kotlin.test.mongodb.common.internal.SyncConnectionParamsTests.xml 1✅ 0ms
./packages/test-sync/build/test-results/iosTest/TEST-io.realm.kotlin.test.mongodb.common.mongo.MongoClientTests.xml 7✅ 10s
./packages/test-sync/build/test-results/iosTest/TEST-io.realm.kotlin.test.mongodb.common.mongo.MongoCollectionFromClientTests.xml 55✅ 171s
./packages/test-sync/build/test-results/iosTest/TEST-io.realm.kotlin.test.mongodb.common.mongo.MongoCollectionFromDatabaseTests.xml 54✅ 171s
./packages/test-sync/build/test-results/iosTest/TEST-io.realm.kotlin.test.mongodb.common.mongo.MongoDatabaseTests.xml 5✅ 8s
./packages/test-sync/build/test-results/iosTest/TEST-io.realm.kotlin.test.mongodb.common.mongo.MongoDBSerializerTests.xml 9✅ 29ms
./packages/test-sync/build/test-results/iosTest/TEST-io.realm.kotlin.test.mongodb.common.MutableSubscriptionSetTests.xml 20✅ 1⚪ 36s
./packages/test-sync/build/test-results/iosTest/TEST-io.realm.kotlin.test.mongodb.common.nonlatin.NonLatinTests.xml 1✅ 2s
./packages/test-sync/build/test-results/iosTest/TEST-io.realm.kotlin.test.mongodb.common.PBSProgressListenerTests.xml 4✅ 4⚪ 12s
./packages/test-sync/build/test-results/iosTest/TEST-io.realm.kotlin.test.mongodb.common.SchemaProcessorTests.xml 2✅ 0ms
./packages/test-sync/build/test-results/iosTest/TEST-io.realm.kotlin.test.mongodb.common.serializer.BsonEncoderTests.xml 12✅ 8ms
./packages/test-sync/build/test-results/iosTest/TEST-io.realm.kotlin.test.mongodb.common.SubscriptionExtensionsTests.xml 16✅ 49s
./packages/test-sync/build/test-results/iosTest/TEST-io.realm.kotlin.test.mongodb.common.SubscriptionSetTests.xml 19✅ 39s
./packages/test-sync/build/test-results/iosTest/TEST-io.realm.kotlin.test.mongodb.common.SubscriptionTests.xml 6✅ 11s
./packages/test-sync/build/test-results/iosTest/TEST-io.realm.kotlin.test.mongodb.common.SyncClientResetIntegrationTests.xml 32✅ 92s
./packages/test-sync/build/test-results/iosTest/TEST-io.realm.kotlin.test.mongodb.common.SyncClientTests.xml 7✅ 11s
./packages/test-sync/build/test-results/iosTest/TEST-io.realm.kotlin.test.mongodb.common.SyncConfigTests.xml 37✅ 1⚪ 51s
./packages/test-sync/build/test-results/iosTest/TEST-io.realm.kotlin.test.mongodb.common.SyncedRealmTests.xml 30✅ 5⚪ 104s
./packages/test-sync/build/test-results/iosTest/TEST-io.realm.kotlin.test.mongodb.common.SyncSessionTests.xml 19✅ 3⚪ 34s
./packages/test-sync/build/test-results/iosTest/TEST-io.realm.kotlin.test.mongodb.common.UserProfileTests.xml 3✅ 2s
./packages/test-sync/build/test-results/iosTest/TEST-io.realm.kotlin.test.mongodb.common.UserTests.xml 32✅ 49s

✅ ./packages/test-sync/build/test-results/iosTest/TEST-io.realm.kotlin.test.mongodb.common.ApiKeyAuthTests.xml

19 tests were completed in 36s 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 3s with 27 passed, 0 failed and 1 skipped.

❌ ./packages/test-sync/build/test-results/iosTest/TEST-io.realm.kotlin.test.mongodb.common.AppTests.xml

25 tests were completed in 46s with 19 passed, 1 failed and 5 skipped.

Test suite Passed Failed Skipped Time
io.realm.kotlin.test.mongodb.common.AppTests 19✅ 1❌ 5⚪ 46s

❌ io.realm.kotlin.test.mongodb.common.AppTests

✅ defaultApp[ios]
✅ defaultApp_emptyIdThrows[ios]
✅ login_Anonymous[ios]
✅ login_NonCredentialImplThrows[ios]
✅ login_invalidCredentialsThrows[ios]
✅ currentUser[ios]
✅ allUsers[ios]
✅ allUsers_retrieveRemovedUser[ios]
✅ switchUser[ios]
❌ switchUser_throwIfUserNotLoggedIn[ios]
	kotlin.AssertionError
✅ currentUser_FallbackToNextValidUser[ios]
⚪ currentUser_clearedAfterUserIsRemoved[ios]
✅ authenticationChangeAsFlow[ios]
✅ authenticationChangeAsFlow_removeUser[ios]
✅ authenticationChangeAsFlow_deleteUser[ios]
✅ authenticationChangeAsFlow_throwsWhenExceedCapacity[ios]
✅ encryptedMetadataRealm[ios]
✅ encryptedMetadataRealm_openWithWrongKeyThrows[ios]
✅ encryptedMetadataRealm_openWithoutKeyThrows[ios]
✅ changeBaseUrl[ios]
⚪ changeBaseUrl_null[ios]
⚪ changeBaseUrl_trailing_slashes_trimmed[ios]
⚪ changeBaseUrl_empty[ios]
✅ changeBaseUrl_invalidUrl[ios]
⚪ changeBaseUrl_nonAppServicesUrl[ios]

✅ ./packages/test-sync/build/test-results/iosTest/TEST-io.realm.kotlin.test.mongodb.common.AsymmetricSyncTests.xml

11 tests were completed in 24s 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 9s 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 17s 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 9s 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 6s 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 27s 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 26s 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 35s 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 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[ios]
✅ exhaustiveCollectionTest[ios]
✅ exhaustiveBsonTypesTest[ios]
✅ unsupportedArgumentTypeThrows[ios]
✅ unsupportedReturnTypeThrows[ios]
✅ unknownFunction[ios]
✅ callFunction_sum[ios]
✅ callFunction_remoteError[ios]
✅ callFunction_null[ios]
✅ callFunction_void[ios]
❌ callFunction_afterLogout[ios]
	kotlin.AssertionError: The exception message did not match.
✅ callFunction_authorizedOnly[ios]
✅ getApp[ios]
✅ getUser[ios]

✅ ./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 20s 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 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.mongo.MongoClientTests.xml

7 tests were completed in 10s 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 171s 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 171s 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 8s 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 29ms 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 36s 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.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 0ms 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 8ms 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 49s 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 11s 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 92s 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 11s 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 51s with 37 passed, 0 failed and 1 skipped.

✅ ./packages/test-sync/build/test-results/iosTest/TEST-io.realm.kotlin.test.mongodb.common.SyncedRealmTests.xml

35 tests were completed in 104s with 30 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 34s 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 49s with 32 passed, 0 failed and 0 skipped.

Annotations

Check failure on line 0 in ./packages/test-sync/build/test-results/iosTest/TEST-io.realm.kotlin.test.mongodb.common.AppTests.xml

See this annotation in the file changed.

@github-actions github-actions / Unit Test Results - iOS x64 Sync

io.realm.kotlin.test.mongodb.common.AppTests ► switchUser_throwIfUserNotLoggedIn[ios]

Failed test found in:
  ./packages/test-sync/build/test-results/iosTest/TEST-io.realm.kotlin.test.mongodb.common.AppTests.xml
Error:
  kotlin.AssertionError
Raw output
kotlin.AssertionError
	at kotlin.Throwable#<init>(/opt/buildAgent/work/b2e1db4d8d903ca4/kotlin/kotlin-native/runtime/src/main/kotlin/kotlin/Throwable.kt:32)
	at kotlin.Error#<init>(/opt/buildAgent/work/b2e1db4d8d903ca4/kotlin/kotlin-native/runtime/src/main/kotlin/kotlin/Exceptions.kt:10)
	at kotlin.AssertionError#<init>(/opt/buildAgent/work/b2e1db4d8d903ca4/kotlin/kotlin-native/runtime/src/main/kotlin/kotlin/Exceptions.kt:127)
	at kotlin.test.DefaultAsserter#fail(/opt/buildAgent/work/b2e1db4d8d903ca4/kotlin/libraries/kotlin.test/common/src/main/kotlin/kotlin/test/DefaultAsserter.kt:14)
	at kotlin.test.Asserter#fail(/opt/buildAgent/work/b2e1db4d8d903ca4/kotlin/libraries/kotlin.test/common/src/main/kotlin/kotlin/test/Assertions.kt:634)
	at kotlin.test#fail(/opt/buildAgent/work/b2e1db4d8d903ca4/kotlin/libraries/kotlin.test/common/src/main/kotlin/kotlin/test/Assertions.kt:520)
	at kotlin.test#fail$default(/opt/buildAgent/work/b2e1db4d8d903ca4/kotlin/libraries/kotlin.test/common/src/main/kotlin/kotlin/test/Assertions.kt:519)
	at io.realm.kotlin.test.mongodb.common.AppTests.$switchUser_throwIfUserNotLoggedIn$lambda$7COROUTINE$6.invokeSuspend#internal(/Users/runner/work/realm-kotlin/realm-kotlin/packages/test-sync/src/commonTest/kotlin/io/realm/kotlin/test/mongodb/common/AppTests.kt:234)
	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 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.AppTests#switchUser_throwIfUserNotLoggedIn(/Users/runner/work/realm-kotlin/realm-kotlin/packages/test-sync/src/commonTest/kotlin/io/realm/kotlin/test/mongodb/common/AppTests.kt:226)
	at io.realm.kotlin.test.mongodb.common.$AppTests$test$0.$switchUser_throwIfUserNotLoggedIn$FUNCTION_REFERENCE$52.invoke#internal(/Users/runner/work/realm-kotlin/realm-kotlin/packages/test-sync/src/commonTest/kotlin/io/realm/kotlin/test/mongodb/common/AppTests.kt:225)
	at io.realm.kotlin.test.mongodb.common.$AppTests$test$0.$switchUser_throwIfUserNotLoggedIn$FUNCTION_REFERENCE$52.$<bridge-UNNN>invoke(/Users/runner/work/realm-kotlin/realm-kotlin/packages/test-sync/src/commonTest/kotlin/io/realm/kotlin/test/mongodb/common/AppTests.kt:225)
	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)

Check failure on line 0 in ./packages/test-sync/build/test-results/iosTest/TEST-io.realm.kotlin.test.mongodb.common.FunctionsTests.xml

See this annotation in the file changed.

@github-actions github-actions / Unit Test Results - iOS x64 Sync

io.realm.kotlin.test.mongodb.common.FunctionsTests ► callFunction_afterLogout[ios]

Failed test found in:
  ./packages/test-sync/build/test-results/iosTest/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://34.229.64.139:33785/groups/66b22240b24f05dd4bff3f87/apps/66b2232eb24f05dd4bff6440/logs?co_id=66b2234fb24f05dd4bff67c6
	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)
	at <global>.0x0(Unknown Source)