mirror of
https://github.com/mamoe/mirai.git
synced 2025-01-09 09:50:16 +08:00
Fix build
This commit is contained in:
parent
c425a809ba
commit
41f1c12c8a
@ -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) }
|
||||
|
Loading…
Reference in New Issue
Block a user