fix another hot lop in tests

Found another test spinlock.
Slow it down to prevent it from blocking the runtime scheduler.
pull/12726/head
James Bardin 9 years ago
parent c4b46081f6
commit 7c9863ccb0

@ -1740,6 +1740,7 @@ func TestContext2Apply_cancel(t *testing.T) {
if ctx.sh.Stopped() {
break
}
time.Sleep(10 * time.Millisecond)
}
}

Loading…
Cancel
Save