From 41f1c12c8a230027c9235e50995347a9770209a2 Mon Sep 17 00:00:00 2001 From: Him188 Date: Wed, 22 Apr 2020 11:27:14 +0800 Subject: [PATCH] Fix build --- .../mamoe/mirai/qqandroid/utils/AtomicResizeCacheListTest.kt | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/mirai-core-qqandroid/src/jvmTest/kotlin/net/mamoe/mirai/qqandroid/utils/AtomicResizeCacheListTest.kt b/mirai-core-qqandroid/src/jvmTest/kotlin/net/mamoe/mirai/qqandroid/utils/AtomicResizeCacheListTest.kt index e8682ab4e..4c7671fd9 100644 --- a/mirai-core-qqandroid/src/jvmTest/kotlin/net/mamoe/mirai/qqandroid/utils/AtomicResizeCacheListTest.kt +++ b/mirai-core-qqandroid/src/jvmTest/kotlin/net/mamoe/mirai/qqandroid/utils/AtomicResizeCacheListTest.kt @@ -30,7 +30,7 @@ internal class AtomicResizeCacheListTest { val list = AtomicResizeCacheList(1000) assertTrue { list.ensureNoDuplication(1) } runBlocking { - delay(1001) + delay(1010) // because no concurrency guaranteed on same elements assertFalse { list.ensureNoDuplication(1) } assertTrue { list.ensureNoDuplication(2) }