Commit abf367bd authored by Him188's avatar Him188

Fix test

parent e98cd868
...@@ -23,15 +23,15 @@ internal class SubscribingGetTest { ...@@ -23,15 +23,15 @@ internal class SubscribingGetTest {
@Test @Test
fun testSyncFromEvent() { fun testSyncFromEvent() {
runBlockingWithTimeout(10000) { runBlockingWithTimeout(30_000) {
suspendCancellableCoroutine<Unit> { cont -> suspendCancellableCoroutine<Unit> { cont ->
launch { launch {
syncFromEvent(8000) { _: TestEvent -> syncFromEvent(20_000) { _: TestEvent ->
cont.resume(Unit) cont.resume(Unit)
} }
} }
launch { launch {
delay(4000) delay(5_000)
TestEvent().broadcast() TestEvent().broadcast()
} }
} }
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment