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
@@ -115,7 +115,7 @@ public class CHMUseCasesTest {
if (map1.equals(map2))
break;
try {
Thread.sleep(1);
Jvm.pause(1);
} catch (InterruptedException e) {
throw new RuntimeException(e);
}