소스 검색

[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 주 전
부모
커밋
429e2190fe
1개의 변경된 파일1개의 추가작업 그리고 1개의 파일을 삭제
  1. 1 1
      build-tools/src/main/java/org/elasticsearch/gradle/testclusters/ElasticsearchCluster.java

+ 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);