[RKOTLIN-1114] Fix sync client config not applied #2585
545 passed, 1 failed and 28 skipped
✅ ./packages/test-sync/build/test-results/jvmTest/TEST-io.realm.kotlin.test.mongodb.common.ApiKeyAuthTests.xml
19 tests were completed in 15s 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 490ms with 27 passed, 0 failed and 1 skipped.
✅ ./packages/test-sync/build/test-results/jvmTest/TEST-io.realm.kotlin.test.mongodb.common.AppTests.xml
23 tests were completed in 13s with 18 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 5s 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 2s 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 5s 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 8s 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 11s with 7 passed, 0 failed and 0 skipped.
❌ ./packages/test-sync/build/test-results/jvmTest/TEST-io.realm.kotlin.test.mongodb.common.FunctionsTests.xml
14 tests were completed in 8s with 13 passed, 1 failed and 0 skipped.
Test suite | Passed | Failed | Skipped | Time |
---|---|---|---|---|
io.realm.kotlin.test.mongodb.common.FunctionsTests | 13✅ | 1❌ | 8s |
❌ io.realm.kotlin.test.mongodb.common.FunctionsTests
✅ callFunction_null[jvm]
✅ callFunction_void[jvm]
✅ getApp[jvm]
✅ exhaustiveElementClassifiersTest[jvm]
✅ callFunction_authorizedOnly[jvm]
❌ callFunction_afterLogout[jvm]
java.lang.AssertionError: The exception message did not match.
✅ getUser[jvm]
✅ exhaustiveBsonTypesTest[jvm]
✅ callFunction_sum[jvm]
✅ unknownFunction[jvm]
✅ exhaustiveCollectionTest[jvm]
✅ unsupportedReturnTypeThrows[jvm]
✅ unsupportedArgumentTypeThrows[jvm]
✅ callFunction_remoteError[jvm]
✅ ./packages/test-sync/build/test-results/jvmTest/TEST-io.realm.kotlin.test.mongodb.common.GeoSpatialTests.xml
5 tests were completed in 5s 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 8s 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 2ms 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 31s 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 902ms 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 12ms 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 7s 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 817ms 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 4s 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 18ms 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 9ms 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 20s 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 8s 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 3s 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 22s 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 2s 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 8s 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 50s 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 6s 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 360ms 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 7s 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 10s 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 5ms with 1 passed, 0 failed and 0 skipped.
✅ ./packages/test-sync/build/test-results/jvmTest/TEST-io.realm.kotlin.test.mongodb.jvm.PlatformNetworkingTests.xml
1 tests were completed in 2s 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
github-actions / Unit Test Results - Sync JVM MacOS x64
io.realm.kotlin.test.mongodb.common.FunctionsTests ► callFunction_afterLogout[jvm]
Failed test found in:
./packages/test-sync/build/test-results/jvmTest/TEST-io.realm.kotlin.test.mongodb.common.FunctionsTests.xml
Error:
java.lang.AssertionError: The exception message did not match.
Raw output
java.lang.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:34483/groups/66b3466f41bef0cde53fe046/apps/66b346b141bef0cde5400155/logs?co_id=66b346b641bef0cde540032c
at io.realm.kotlin.test.mongodb.common.utils.UtilsKt.assertFailsWithMessage(Utils.kt:42)
at io.realm.kotlin.test.mongodb.common.FunctionsTests.callFunction_afterLogout(FunctionsTests.kt:3487)
at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
at java.base/jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
at java.base/java.lang.reflect.Method.invoke(Method.java:566)
at org.junit.runners.model.FrameworkMethod$1.runReflectiveCall(FrameworkMethod.java:59)
at org.junit.internal.runners.model.ReflectiveCallable.run(ReflectiveCallable.java:12)
at org.junit.runners.model.FrameworkMethod.invokeExplosively(FrameworkMethod.java:56)
at org.junit.internal.runners.statements.InvokeMethod.evaluate(InvokeMethod.java:17)
at org.junit.internal.runners.statements.RunBefores.evaluate(RunBefores.java:26)
at org.junit.internal.runners.statements.RunAfters.evaluate(RunAfters.java:27)
at org.junit.runners.ParentRunner$3.evaluate(ParentRunner.java:306)
at org.junit.runners.BlockJUnit4ClassRunner$1.evaluate(BlockJUnit4ClassRunner.java:100)
at org.junit.runners.ParentRunner.runLeaf(ParentRunner.java:366)
at org.junit.runners.BlockJUnit4ClassRunner.runChild(BlockJUnit4ClassRunner.java:103)
at org.junit.runners.BlockJUnit4ClassRunner.runChild(BlockJUnit4ClassRunner.java:63)
at org.junit.runners.ParentRunner$4.run(ParentRunner.java:331)
at org.junit.runners.ParentRunner$1.schedule(ParentRunner.java:79)
at org.junit.runners.ParentRunner.runChildren(ParentRunner.java:329)
at org.junit.runners.ParentRunner.access$100(ParentRunner.java:66)
at org.junit.runners.ParentRunner$2.evaluate(ParentRunner.java:293)
at org.junit.runners.ParentRunner$3.evaluate(ParentRunner.java:306)
at org.junit.runners.ParentRunner.run(ParentRunner.java:413)
at org.gradle.api.internal.tasks.testing.junit.JUnitTestClassExecutor.runTestClass(JUnitTestClassExecutor.java:108)
at org.gradle.api.internal.tasks.testing.junit.JUnitTestClassExecutor.execute(JUnitTestClassExecutor.java:57)
at org.gradle.api.internal.tasks.testing.junit.JUnitTestClassExecutor.execute(JUnitTestClassExecutor.java:39)
at org.gradle.api.internal.tasks.testing.junit.AbstractJUnitTestClassProcessor.processTestClass(AbstractJUnitTestClassProcessor.java:62)
at org.gradle.api.internal.tasks.testing.SuiteTestClassProcessor.processTestClass(SuiteTestClassProcessor.java:52)
at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
at java.base/jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
at java.base/java.lang.reflect.Method.invoke(Method.java:566)
at org.gradle.internal.dispatch.ReflectionDispatch.dispatch(ReflectionDispatch.java:36)
at org.gradle.internal.dispatch.ReflectionDispatch.dispatch(ReflectionDispatch.java:24)
at org.gradle.internal.dispatch.ContextClassLoaderDispatch.dispatch(ContextClassLoaderDispatch.java:33)
at org.gradle.internal.dispatch.ProxyDispatchAdapter$DispatchingInvocationHandler.invoke(ProxyDispatchAdapter.java:94)
at com.sun.proxy.$Proxy2.processTestClass(Unknown Source)
at org.gradle.api.internal.tasks.testing.worker.TestWorker$2.run(TestWorker.java:176)
at org.gradle.api.internal.tasks.testing.worker.TestWorker.executeAndMaintainThreadName(TestWorker.java:129)
at org.gradle.api.internal.tasks.testing.worker.TestWorker.execute(TestWorker.java:100)
at org.gradle.api.internal.tasks.testing.worker.TestWorker.execute(TestWorker.java:60)
at org.gradle.process.internal.worker.child.ActionExecutionWorker.execute(ActionExecutionWorker.java:56)
at org.gradle.process.internal.worker.child.SystemApplicationClassLoaderWorker.call(SystemApplicationClassLoaderWorker.java:113)
at org.gradle.process.internal.worker.child.SystemApplicationClassLoaderWorker.call(SystemApplicationClassLoaderWorker.java:65)
at worker.org.gradle.process.internal.worker.GradleWorkerMain.run(GradleWorkerMain.java:69)
at worker.org.gradle.process.internal.worker.GradleWorkerMain.main(GradleWorkerMain.java:74)