Commit 99898948 authored by Him188's avatar Him188

Fix test

parent 35b8cfeb
...@@ -63,9 +63,6 @@ internal class LockFreeLinkedListTest { ...@@ -63,9 +63,6 @@ internal class LockFreeLinkedListTest {
val addJob = async { list.concurrentDo(2, 30000) { addLast(1) } } val addJob = async { list.concurrentDo(2, 30000) { addLast(1) } }
//delay(1) // let addJob fly //delay(1) // let addJob fly
if (addJob.isCompleted) {
return
}
val foreachJob = async { val foreachJob = async {
list.concurrentDo(1, 10000) { list.concurrentDo(1, 10000) {
forEach { it + it } forEach { it + it }
......
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