mirror of
https://github.com/SlimeVR/SlimeVR-Server.git
synced 2026-11-20 00:51:20 -08:00
Fix provisioning test hanging
This commit is contained in:
1 file changed
+2
-1
@@ -77,7 +77,7 @@ class ProvisioningBehaviourTest {
|
||||
val serial = buildTestSerial(backgroundScope)
|
||||
val manager = buildManager(serial, backgroundScope)
|
||||
val server = buildTestVrServerStub(backgroundScope)
|
||||
val (scanner, _) = buildBridge(1, server, manager, backgroundScope)
|
||||
val (scanner, scannerScope) = buildBridge(1, server, manager, backgroundScope)
|
||||
val (_, idleScope) = buildBridge(2, server, manager, backgroundScope)
|
||||
serial.plug(fakePort())
|
||||
|
||||
@@ -88,5 +88,6 @@ class ProvisioningBehaviourTest {
|
||||
advanceTimeBy(1_000)
|
||||
|
||||
assertEquals(null, serial.watcher.closeCount["COM1"])
|
||||
scannerScope.cancel()
|
||||
}
|
||||
}
|
||||
Reference in new issue
Block a user