Issue #2860 fix after review

This commit is contained in:
Ivanov Anton 2018-08-27 08:24:26 +03:00
parent 3d87265a0a
commit 03c0d58727
1 changed files with 1 additions and 1 deletions

View File

@ -298,7 +298,7 @@ public class HttpDestinationOverHTTPTest extends AbstractHttpClientServerTest
{
}
long deadline = System.nanoTime() + TimeUnit.MILLISECONDS.toNanos(100);
long deadline = System.nanoTime() + TimeUnit.SECONDS.toNanos(1);
while (!client.getDestinations().isEmpty() && System.nanoTime() < deadline)
{
Thread.sleep(10);