SOLR-13076: TimeOut breaks the simulation framework.

This commit is contained in:
Andrzej Bialecki 2018-12-17 16:49:27 +01:00
parent 785d02208a
commit f5479383b1
1 changed files with 1 additions and 1 deletions

View File

@ -61,7 +61,7 @@ public class TimeOut {
public void waitFor(String messageOnTimeOut, Supplier<Boolean> supplier)
throws InterruptedException, TimeoutException {
while (!supplier.get() && !hasTimedOut()) {
Thread.sleep(250);
timeSource.sleep(250);
}
if (hasTimedOut()) throw new TimeoutException(messageOnTimeOut);
}