File tree Expand file tree Collapse file tree 2 files changed +7
-5
lines changed
common/src/commonIntegrationTest/kotlin/com/powersync/sync Expand file tree Collapse file tree 2 files changed +7
-5
lines changed Original file line number Diff line number Diff line change 44
55- Remove the legacy Kotlin sync client. ` newSyncClientImplementation ` is now the only supported
66 option.
7+ - Avoid reconnect delay on reconnects due to a prefetched token.
78
89## 1.11.2
910
Original file line number Diff line number Diff line change @@ -787,12 +787,13 @@ class SyncIntegrationTest : AbstractSyncTest() {
787787 database.currentStatus.connected shouldBe true
788788
789789 // After the prefetch completes, we should reconnect
790- val timeToReconnect = scope.testTimeSource.measureTime {
791- completePrefetch.complete(Unit )
792- turbine.waitFor { ! it.connected }
790+ val timeToReconnect =
791+ scope.testTimeSource.measureTime {
792+ completePrefetch.complete(Unit )
793+ turbine.waitFor { ! it.connected }
793794
794- turbine.waitFor { it.connected }
795- }
795+ turbine.waitFor { it.connected }
796+ }
796797 // We should not wait for the reconnect delay when we reconnect due to a prefetched
797798 // token (that's kind of the whole point...).
798799 timeToReconnect shouldBe 0 .seconds
You can’t perform that action at this time.
0 commit comments