Him188 5 년 전
부모
커밋
abf367bd5c
1개의 변경된 파일3개의 추가작업 그리고 3개의 파일을 삭제
  1. 3 3
      mirai-core/src/jvmTest/kotlin/net/mamoe/mirai/message/SubscribingGetTest.kt

+ 3 - 3
mirai-core/src/jvmTest/kotlin/net/mamoe/mirai/message/SubscribingGetTest.kt

@@ -23,15 +23,15 @@ internal class SubscribingGetTest {
 
     @Test
     fun testSyncFromEvent() {
-        runBlockingWithTimeout(10000) {
+        runBlockingWithTimeout(30_000) {
             suspendCancellableCoroutine<Unit> { cont ->
                 launch {
-                    syncFromEvent(8000) { _: TestEvent ->
+                    syncFromEvent(20_000) { _: TestEvent ->
                         cont.resume(Unit)
                     }
                 }
                 launch {
-                    delay(4000)
+                    delay(5_000)
                     TestEvent().broadcast()
                 }
             }