|
@@ -38,12 +38,8 @@ public class ServerUtils {
|
|
|
protected static final Logger logger = LogManager.getLogger(ServerUtils.class);
|
|
|
|
|
|
// generous timeout as nested virtualization can be quite slow ...
|
|
|
- private static final long waitTime = TimeUnit.MINUTES.toMillis(
|
|
|
- System.getProperty("tests.inVM") == null ? 3 : 1
|
|
|
- );
|
|
|
- private static final long timeoutLength = TimeUnit.SECONDS.toMillis(
|
|
|
- System.getProperty("tests.inVM") == null ? 30 : 10
|
|
|
- );
|
|
|
+ private static final long waitTime = TimeUnit.MINUTES.toMillis(3);
|
|
|
+ private static final long timeoutLength = TimeUnit.SECONDS.toMillis(30);
|
|
|
private static final long requestInterval = TimeUnit.SECONDS.toMillis(5);
|
|
|
|
|
|
public static void waitForElasticsearch(Installation installation) throws IOException {
|