[java] Reinterrupting the current thread after catching InterruptedException
@@ -93,6 +93,7 @@ private void waitFor() {
try {
Thread.sleep(sleepFor());
} catch (InterruptedException e) {
+ Thread.currentThread().interrupt();
throw new AssertionError(e);
}
}
