File tree Expand file tree Collapse file tree 1 file changed +10
-9
lines changed
core/src/commonIntegrationTest/kotlin/com/powersync/sync Expand file tree Collapse file tree 1 file changed +10
-9
lines changed Original file line number Diff line number Diff line change @@ -915,16 +915,17 @@ class NewSyncIntegrationTest : BaseSyncIntegrationTest(true) {
915
915
}
916
916
917
917
@Test
918
- fun `ends iteration on http close` () = databaseTest {
919
- turbineScope(timeout = 10.0 .seconds) {
920
- val turbine = database.currentStatus.asFlow().testIn(this )
921
- database.connect(TestConnector (), options = getOptions())
922
- turbine.waitFor { it.connected }
918
+ fun `ends iteration on http close` () =
919
+ databaseTest {
920
+ turbineScope(timeout = 10.0 .seconds) {
921
+ val turbine = database.currentStatus.asFlow().testIn(this )
922
+ database.connect(TestConnector (), options = getOptions())
923
+ turbine.waitFor { it.connected }
923
924
924
- syncLines.close()
925
- turbine.waitFor { ! it.connected }
925
+ syncLines.close()
926
+ turbine.waitFor { ! it.connected }
926
927
927
- turbine.cancelAndIgnoreRemainingEvents()
928
+ turbine.cancelAndIgnoreRemainingEvents()
929
+ }
928
930
}
929
- }
930
931
}
You can’t perform that action at this time.
0 commit comments