Commit 41f1c12c authored by Him188's avatar Him188

Fix build

parent c425a809
...@@ -30,7 +30,7 @@ internal class AtomicResizeCacheListTest { ...@@ -30,7 +30,7 @@ internal class AtomicResizeCacheListTest {
val list = AtomicResizeCacheList<Int>(1000) val list = AtomicResizeCacheList<Int>(1000)
assertTrue { list.ensureNoDuplication(1) } assertTrue { list.ensureNoDuplication(1) }
runBlocking { runBlocking {
delay(1001) delay(1010)
// because no concurrency guaranteed on same elements // because no concurrency guaranteed on same elements
assertFalse { list.ensureNoDuplication(1) } assertFalse { list.ensureNoDuplication(1) }
assertTrue { list.ensureNoDuplication(2) } assertTrue { list.ensureNoDuplication(2) }
......
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