Pārlūkot izejas kodu

[Build] Aggressively increase gradle based Test Cluster startup timeout (#135672) (#135682)

We see plenty of errors due to a cluster not starting up. This is likely a combination
of parallelism, memory pressure and to little timeout.

This is aggressively increasing the timeout from 40 to 120s while we will
monitor if the overall flakyness in ci is reduced
Rene Groeschke 1 nedēļu atpakaļ
vecāks
revīzija
429e2190fe

+ 1 - 1
build-tools/src/main/java/org/elasticsearch/gradle/testclusters/ElasticsearchCluster.java

@@ -64,7 +64,7 @@ import static org.elasticsearch.gradle.testclusters.TestClustersPlugin.BUNDLE_AT
 public class ElasticsearchCluster implements TestClusterConfiguration, Named {
 
     private static final Logger LOGGER = Logging.getLogger(ElasticsearchNode.class);
-    private static final int CLUSTER_UP_TIMEOUT = 40;
+    private static final int CLUSTER_UP_TIMEOUT = 120;
     private static final TimeUnit CLUSTER_UP_TIMEOUT_UNIT = TimeUnit.SECONDS;
 
     private final AtomicBoolean configurationFrozen = new AtomicBoolean(false);