Skip to content

Commit b233731

Browse files
Merge branch 'main' into sa-filter-reserved-roles-from-get-roles-api
2 parents 0e5024a + ec2ac48 commit b233731

File tree

6 files changed

+28
-3
lines changed

6 files changed

+28
-3
lines changed

muted-tests.yml

Lines changed: 5 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -373,9 +373,6 @@ tests:
373373
- class: org.elasticsearch.search.CrossClusterSearchUnavailableClusterIT
374374
method: testSearchSkipUnavailable
375375
issue: https://github.com/elastic/elasticsearch/issues/121497
376-
- class: org.elasticsearch.xpack.esql.action.CrossClusterAsyncQueryStopIT
377-
method: testStopQueryLocal
378-
issue: https://github.com/elastic/elasticsearch/issues/121672
379376
- class: org.elasticsearch.xpack.esql.qa.multi_node.EsqlSpecIT
380377
issue: https://github.com/elastic/elasticsearch/issues/121411
381378
- class: org.elasticsearch.smoketest.DocsClientYamlTestSuiteIT
@@ -398,6 +395,11 @@ tests:
398395
- class: org.elasticsearch.xpack.esql.plugin.DataNodeRequestSenderTests
399396
method: testDoNotRetryOnRequestLevelFailure
400397
issue: https://github.com/elastic/elasticsearch/issues/121966
398+
- class: org.elasticsearch.xpack.searchablesnapshots.hdfs.SecureHdfsSearchableSnapshotsIT
399+
issue: https://github.com/elastic/elasticsearch/issues/121967
400+
- class: org.elasticsearch.xpack.esql.parser.StatementParserTests
401+
method: testInvalidJoinPatterns
402+
issue: https://github.com/elastic/elasticsearch/issues/121968
401403

402404
# Examples:
403405
#

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

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -684,6 +684,7 @@ private Map<String, Object> lookupExplosion(int sensorDataCount, int lookupEntri
684684
return responseAsMap(query(query.toString(), null));
685685
} finally {
686686
deleteIndex("sensor_data");
687+
deleteIndex("sensor_lookup");
687688
}
688689
}
689690

x-pack/plugin/esql/src/internalClusterTest/java/org/elasticsearch/xpack/esql/action/AbstractCrossClusterTestCase.java

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -23,6 +23,7 @@
2323
import org.elasticsearch.transport.RemoteClusterAware;
2424
import org.elasticsearch.xcontent.XContentBuilder;
2525
import org.elasticsearch.xcontent.json.JsonXContent;
26+
import org.junit.After;
2627
import org.junit.Before;
2728

2829
import java.io.IOException;
@@ -107,6 +108,13 @@ public void resetPlugin() {
107108
CrossClusterAsyncQueryIT.CountingPauseFieldPlugin.resetPlugin();
108109
}
109110

111+
@After
112+
public void releaseLatches() {
113+
SimplePauseFieldPlugin.release();
114+
FailingPauseFieldPlugin.release();
115+
CrossClusterAsyncQueryIT.CountingPauseFieldPlugin.release();
116+
}
117+
110118
protected void assertClusterInfoSuccess(EsqlExecutionInfo.Cluster cluster, int numShards) {
111119
assertThat(cluster.getTook().millis(), greaterThanOrEqualTo(0L));
112120
assertThat(cluster.getStatus(), equalTo(EsqlExecutionInfo.Cluster.Status.SUCCESSFUL));

x-pack/plugin/esql/src/internalClusterTest/java/org/elasticsearch/xpack/esql/action/CrossClustersCancellationIT.java

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -27,6 +27,7 @@
2727
import org.elasticsearch.xcontent.XContentBuilder;
2828
import org.elasticsearch.xcontent.json.JsonXContent;
2929
import org.elasticsearch.xpack.esql.plugin.ComputeService;
30+
import org.junit.After;
3031
import org.junit.Before;
3132

3233
import java.util.ArrayList;
@@ -76,6 +77,11 @@ public void resetPlugin() {
7677
SimplePauseFieldPlugin.resetPlugin();
7778
}
7879

80+
@After
81+
public void releasePlugin() {
82+
SimplePauseFieldPlugin.release();
83+
}
84+
7985
@Override
8086
protected boolean reuseClusters() {
8187
return false;

x-pack/plugin/esql/src/internalClusterTest/java/org/elasticsearch/xpack/esql/action/FailingPauseFieldPlugin.java

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -29,6 +29,10 @@ public static void resetPlugin() {
2929
startEmitting = new CountDownLatch(1);
3030
}
3131

32+
public static void release() {
33+
allowEmitting.countDown();
34+
}
35+
3236
@Override
3337
public void onStartExecute() {
3438
startEmitting.countDown();

x-pack/plugin/esql/src/internalClusterTest/java/org/elasticsearch/xpack/esql/action/SimplePauseFieldPlugin.java

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -24,6 +24,10 @@ public static void resetPlugin() {
2424
startEmitting = new CountDownLatch(1);
2525
}
2626

27+
public static void release() {
28+
allowEmitting.countDown();
29+
}
30+
2731
@Override
2832
public void onStartExecute() {
2933
startEmitting.countDown();

0 commit comments

Comments
 (0)