Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

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

Merged
merged 2 commits into from
Aug 7, 2024

Fix failing tests

8e4c2dd
Select commit
Loading
Failed to load commit list.
Sign in for the full log view
Merged

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

Fix failing tests
8e4c2dd
Select commit
Loading
Failed to load commit list.
GitHub Actions / Unit Test Results - Sync JVM Linux failed Aug 6, 2024 in 0s

546 passed, 1 failed and 28 skipped

Tests failed

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

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

19 tests were completed in 10s with 18 passed, 0 failed and 1 skipped.

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

28 tests were completed in 389ms with 27 passed, 0 failed and 1 skipped.

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

25 tests were completed in 13s with 20 passed, 0 failed and 5 skipped.

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

11 tests were completed in 4s with 11 passed, 0 failed and 0 skipped.

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

5 tests were completed in 1s with 5 passed, 0 failed and 0 skipped.

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

20 tests were completed in 2s with 16 passed, 0 failed and 4 skipped.

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

5 tests were completed in 3s with 5 passed, 0 failed and 0 skipped.

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

2 tests were completed in 3s with 2 passed, 0 failed and 0 skipped.

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

15 tests were completed in 4s with 14 passed, 0 failed and 1 skipped.

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

7 tests were completed in 17s with 7 passed, 0 failed and 0 skipped.

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

7 tests were completed in 34s with 6 passed, 1 failed and 0 skipped.

Test suite Passed Failed Skipped Time
io.realm.kotlin.test.mongodb.common.FLXProgressListenerTests 6✅ 1❌ 34s

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

❌ completesOnClose[jvm]
	kotlinx.coroutines.TimeoutCancellationException: Timed out waiting for 10000 ms
✅ uploadProgressListener_changesOnly[jvm]
✅ downloadProgressListener_indefinitely[jvm]
✅ worksAfterExceptions[jvm]
✅ worksAfterCancel[jvm]
✅ downloadProgressListener_changesOnly[jvm]
✅ uploadProgressListener_indefinitely[jvm]

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

14 tests were completed in 8s with 14 passed, 0 failed and 0 skipped.

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

5 tests were completed in 9s with 5 passed, 0 failed and 0 skipped.

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

8 tests were completed in 7s with 8 passed, 0 failed and 0 skipped.

✅ ./packages/test-sync/build/test-results/jvmTest/TEST-io.realm.kotlin.test.mongodb.common.internal.KtorNetworkTransportTest.xml

4 tests were completed in 4s with 3 passed, 0 failed and 1 skipped.

✅ ./packages/test-sync/build/test-results/jvmTest/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/jvmTest/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/jvmTest/TEST-io.realm.kotlin.test.mongodb.common.mongo.MongoClientTests.xml

7 tests were completed in 1s with 7 passed, 0 failed and 0 skipped.

✅ ./packages/test-sync/build/test-results/jvmTest/TEST-io.realm.kotlin.test.mongodb.common.mongo.MongoCollectionFromClientTests.xml

55 tests were completed in 30s with 55 passed, 0 failed and 0 skipped.

✅ ./packages/test-sync/build/test-results/jvmTest/TEST-io.realm.kotlin.test.mongodb.common.mongo.MongoCollectionFromDatabaseTests.xml

54 tests were completed in 30s with 54 passed, 0 failed and 0 skipped.

✅ ./packages/test-sync/build/test-results/jvmTest/TEST-io.realm.kotlin.test.mongodb.common.mongo.MongoDatabaseTests.xml

5 tests were completed in 838ms with 5 passed, 0 failed and 0 skipped.

✅ ./packages/test-sync/build/test-results/jvmTest/TEST-io.realm.kotlin.test.mongodb.common.mongo.MongoDBSerializerTests.xml

9 tests were completed in 9ms with 9 passed, 0 failed and 0 skipped.

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

21 tests were completed in 6s with 20 passed, 0 failed and 1 skipped.

✅ ./packages/test-sync/build/test-results/jvmTest/TEST-io.realm.kotlin.test.mongodb.common.nonlatin.NonLatinTests.xml

1 tests were completed in 1s with 1 passed, 0 failed and 0 skipped.

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

8 tests were completed in 3s with 4 passed, 0 failed and 4 skipped.

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

2 tests were completed in 9ms with 2 passed, 0 failed and 0 skipped.

✅ ./packages/test-sync/build/test-results/jvmTest/TEST-io.realm.kotlin.test.mongodb.common.serializer.BsonEncoderTests.xml

12 tests were completed in 5ms with 12 passed, 0 failed and 0 skipped.

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

16 tests were completed in 57s with 16 passed, 0 failed and 0 skipped.

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

19 tests were completed in 32s with 19 passed, 0 failed and 0 skipped.

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

6 tests were completed in 2s with 6 passed, 0 failed and 0 skipped.

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

32 tests were completed in 27s with 32 passed, 0 failed and 0 skipped.

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

7 tests were completed in 1s with 7 passed, 0 failed and 0 skipped.

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

38 tests were completed in 6s with 37 passed, 0 failed and 1 skipped.

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

35 tests were completed in 37s with 30 passed, 0 failed and 5 skipped.

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

22 tests were completed in 4s with 19 passed, 0 failed and 3 skipped.

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

3 tests were completed in 246ms with 3 passed, 0 failed and 0 skipped.

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

32 tests were completed in 6s with 32 passed, 0 failed and 0 skipped.

✅ ./packages/test-sync/build/test-results/jvmTest/TEST-io.realm.kotlin.test.mongodb.compiler.AsymmetricObjectTests.xml

5 tests were completed in 8s with 5 passed, 0 failed and 0 skipped.

✅ ./packages/test-sync/build/test-results/jvmTest/TEST-io.realm.kotlin.test.mongodb.jvm.FlexibleSyncSchemaTests.xml

1 tests were completed in 3ms with 1 passed, 0 failed and 0 skipped.

✅ ./packages/test-sync/build/test-results/jvmTest/TEST-io.realm.kotlin.test.mongodb.jvm.RealmTests.xml

1 tests were completed in 0ms with 0 passed, 0 failed and 1 skipped.

Annotations

Check failure on line 243 in packages/test-sync/src/commonTest/kotlin/io/realm/kotlin/test/mongodb/common/FLXProgressListenerTests.kt

See this annotation in the file changed.

@github-actions github-actions / Unit Test Results - Sync JVM Linux

io.realm.kotlin.test.mongodb.common.FLXProgressListenerTests ► completesOnClose[jvm]

Failed test found in:
  ./packages/test-sync/build/test-results/jvmTest/TEST-io.realm.kotlin.test.mongodb.common.FLXProgressListenerTests.xml
Error:
  kotlinx.coroutines.TimeoutCancellationException: Timed out waiting for 10000 ms
Raw output
kotlinx.coroutines.TimeoutCancellationException: Timed out waiting for 10000 ms
	at _COROUTINE._BOUNDARY._(CoroutineDebugging.kt:46)
	at kotlinx.coroutines.flow.FlowKt__ChannelsKt.emitAllImpl$FlowKt__ChannelsKt(Channels.kt:36)
	at kotlinx.coroutines.flow.internal.ChannelFlow$collect$2.invokeSuspend(ChannelFlow.kt:123)
	at io.realm.kotlin.test.mongodb.common.FLXProgressListenerTests$completesOnClose$1$1$job$1$1.invokeSuspend(FLXProgressListenerTests.kt:243)
	at io.realm.kotlin.test.mongodb.common.FLXProgressListenerTests$completesOnClose$1$1$job$1.invokeSuspend(FLXProgressListenerTests.kt:242)
	at io.realm.kotlin.test.mongodb.common.FLXProgressListenerTests$completesOnClose$1.invokeSuspend(FLXProgressListenerTests.kt:253)
Caused by: kotlinx.coroutines.TimeoutCancellationException: Timed out waiting for 10000 ms
	at app//kotlinx.coroutines.TimeoutKt.TimeoutCancellationException(Timeout.kt:191)
	at app//kotlinx.coroutines.TimeoutCoroutine.run(Timeout.kt:159)
	at app//kotlinx.coroutines.EventLoopImplBase$DelayedRunnableTask.run(EventLoop.common.kt:501)
	at app//kotlinx.coroutines.EventLoopImplBase.processNextEvent(EventLoop.common.kt:280)
	at app//kotlinx.coroutines.DefaultExecutor.run(DefaultExecutor.kt:108)
	at java.base@11.0.24/java.lang.Thread.run(Thread.java:829)