Skip to content

Commit

Permalink
ESQL: Bump heap attack suite timeout
Browse files Browse the repository at this point in the history
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 elastic#121112
  • Loading branch information
nik9000 committed Jan 29, 2025
1 parent 6b76457 commit 5aba7a8
Showing 1 changed file with 4 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -7,9 +7,12 @@

package org.elasticsearch.xpack.esql.heap_attack;

import com.carrotsearch.randomizedtesting.annotations.TimeoutSuite;

import org.apache.http.HttpHost;
import org.apache.http.client.config.RequestConfig;
import org.apache.http.util.EntityUtils;
import org.apache.lucene.tests.util.TimeUnits;
import org.elasticsearch.client.Request;
import org.elasticsearch.client.RequestOptions;
import org.elasticsearch.client.Response;
Expand Down Expand Up @@ -64,6 +67,7 @@
* Tests that run ESQL queries that use a ton of memory. We want to make
* sure they don't consume the entire heap and crash Elasticsearch.
*/
@TimeoutSuite(millis = 40 * TimeUnits.MINUTE)
public class HeapAttackIT extends ESRestTestCase {
@ClassRule
public static ElasticsearchCluster cluster = Clusters.buildCluster();
Expand Down

0 comments on commit 5aba7a8

Please sign in to comment.