mirror of
https://github.com/mamoe/mirai.git
synced 2025-01-07 00:20:09 +08:00
Fix test
This commit is contained in:
parent
35b8cfeb2a
commit
9989894802
@ -63,9 +63,6 @@ internal class LockFreeLinkedListTest {
|
||||
val addJob = async { list.concurrentDo(2, 30000) { addLast(1) } }
|
||||
|
||||
//delay(1) // let addJob fly
|
||||
if (addJob.isCompleted) {
|
||||
return
|
||||
}
|
||||
val foreachJob = async {
|
||||
list.concurrentDo(1, 10000) {
|
||||
forEach { it + it }
|
||||
|
Loading…
Reference in New Issue
Block a user