Commit 5aa85ba0 authored by Him188's avatar Him188

?

parent 9ad8dfa7
...@@ -23,15 +23,15 @@ internal class SubscribingGetTest { ...@@ -23,15 +23,15 @@ internal class SubscribingGetTest {
@Test @Test
fun testSyncFromEvent() { fun testSyncFromEvent() {
runBlockingWithTimeout(1000) { runBlockingWithTimeout(5000) {
suspendCancellableCoroutine<Unit> { cont -> suspendCancellableCoroutine<Unit> { cont ->
launch { launch {
syncFromEvent(500) { _: TestEvent -> syncFromEvent(3000) { _: TestEvent ->
cont.resume(Unit) cont.resume(Unit)
} }
} }
launch { launch {
delay(200) delay(1000)
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