From 89c1d84c11bbf7e18c44598c9bdc31fb5a2a6279 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Claus=20R=C3=B8rbech?= Date: Thu, 18 Jul 2024 12:02:53 +0200 Subject: [PATCH] Clean up --- .../kotlin/test/mongodb/common/FLXProgressListenerTests.kt | 5 ----- 1 file changed, 5 deletions(-) diff --git a/packages/test-sync/src/commonTest/kotlin/io/realm/kotlin/test/mongodb/common/FLXProgressListenerTests.kt b/packages/test-sync/src/commonTest/kotlin/io/realm/kotlin/test/mongodb/common/FLXProgressListenerTests.kt index e635d37005..f26e9399b2 100644 --- a/packages/test-sync/src/commonTest/kotlin/io/realm/kotlin/test/mongodb/common/FLXProgressListenerTests.kt +++ b/packages/test-sync/src/commonTest/kotlin/io/realm/kotlin/test/mongodb/common/FLXProgressListenerTests.kt @@ -20,8 +20,6 @@ import io.realm.kotlin.Realm import io.realm.kotlin.entities.sync.SyncObjectWithAllTypes import io.realm.kotlin.ext.query import io.realm.kotlin.internal.platform.runBlocking -import io.realm.kotlin.log.LogLevel -import io.realm.kotlin.log.RealmLog import io.realm.kotlin.mongodb.User import io.realm.kotlin.mongodb.sync.Direction import io.realm.kotlin.mongodb.sync.Progress @@ -42,7 +40,6 @@ import kotlinx.coroutines.flow.buffer import kotlinx.coroutines.flow.filter import kotlinx.coroutines.flow.first import kotlinx.coroutines.flow.last -import kotlinx.coroutines.flow.onEach import kotlinx.coroutines.flow.scan import kotlinx.coroutines.flow.takeWhile import kotlinx.coroutines.supervisorScope @@ -149,12 +146,10 @@ class FLXProgressListenerTests { @Test fun uploadProgressListener_changesOnly() = runBlocking { - RealmLog.setLevel(LogLevel.ALL) Realm.open(createSyncConfig(app.createUserAndLogin())).use { realm -> for (i in 0..3) { realm.writeSampleData(TEST_SIZE, timeout = TIMEOUT) realm.syncSession.progressAsFlow(Direction.UPLOAD, ProgressMode.CURRENT_CHANGES) - .onEach { println("Progress[$i] $it") } .run { withTimeout(TIMEOUT) { last().let {