Skip to content

Commit 4b502f5

Browse files
authored
[Build] Aggressively increase gradle based Test Cluster startup timeout (#135672) (#135684)
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
1 parent 8f23421 commit 4b502f5

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

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

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -65,7 +65,7 @@
6565
public class ElasticsearchCluster implements TestClusterConfiguration, Named {
6666

6767
private static final Logger LOGGER = Logging.getLogger(ElasticsearchNode.class);
68-
private static final int CLUSTER_UP_TIMEOUT = 40;
68+
private static final int CLUSTER_UP_TIMEOUT = 120;
6969
private static final TimeUnit CLUSTER_UP_TIMEOUT_UNIT = TimeUnit.SECONDS;
7070

7171
private final AtomicBoolean configurationFrozen = new AtomicBoolean(false);

0 commit comments

Comments
 (0)