Fix build

This commit is contained in:
Him188 2020-04-22 11:27:14 +08:00
parent c425a809ba
commit 41f1c12c8a

View File

@ -30,7 +30,7 @@ internal class AtomicResizeCacheListTest {
val list = AtomicResizeCacheList<Int>(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) }