Skip to content

Commit 955ff93

Browse files
authored
ESQL: Bump heap attack suite timeout (#121198) (#121212)
The heap attack test is growing so it is taking longer. We'll work to speed it up, but for now, let's bump the timeout. Closes #121112
1 parent 06b6be4 commit 955ff93

File tree

1 file changed

+4
-0
lines changed
  • test/external-modules/esql-heap-attack/src/javaRestTest/java/org/elasticsearch/xpack/esql/heap_attack

1 file changed

+4
-0
lines changed

test/external-modules/esql-heap-attack/src/javaRestTest/java/org/elasticsearch/xpack/esql/heap_attack/HeapAttackIT.java

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -7,9 +7,12 @@
77

88
package org.elasticsearch.xpack.esql.heap_attack;
99

10+
import com.carrotsearch.randomizedtesting.annotations.TimeoutSuite;
11+
1012
import org.apache.http.HttpHost;
1113
import org.apache.http.client.config.RequestConfig;
1214
import org.apache.http.util.EntityUtils;
15+
import org.apache.lucene.tests.util.TimeUnits;
1316
import org.elasticsearch.client.Request;
1417
import org.elasticsearch.client.RequestOptions;
1518
import org.elasticsearch.client.Response;
@@ -64,6 +67,7 @@
6467
* Tests that run ESQL queries that use a ton of memory. We want to make
6568
* sure they don't consume the entire heap and crash Elasticsearch.
6669
*/
70+
@TimeoutSuite(millis = 40 * TimeUnits.MINUTE)
6771
public class HeapAttackIT extends ESRestTestCase {
6872
@ClassRule
6973
public static ElasticsearchCluster cluster = Clusters.buildCluster();

0 commit comments

Comments
 (0)