Reduce Thread.sleep to Jvm.pause, delays >= 1s to 500 ms, and remove "throws Exception" from tests

This commit is contained in:
Peter Lawrey
2016-04-12 12:08:14 +01:00
parent ceab61fd85
commit ffff33bed1
16 changed files with 22 additions and 22 deletions
@@ -1501,7 +1501,7 @@ public final class ChronicleMapBuilder<K, V> implements
// truncated between length() and read() calls, then continue to wait
}
try {
Thread.sleep(100);
Jvm.pause(100);
} catch (InterruptedException e) {
if (recover) {
break;