Skip to content

Commit 545d4bb

Browse files
authored
Merge branch 'main' into backport/main/pr-121661
2 parents 250c671 + 39da074 commit 545d4bb

File tree

2 files changed

+8
-3
lines changed

2 files changed

+8
-3
lines changed

muted-tests.yml

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -320,9 +320,6 @@ tests:
320320
- class: org.elasticsearch.xpack.security.profile.ProfileIntegTests
321321
method: testGetUsersWithProfileUid
322322
issue: https://github.com/elastic/elasticsearch/issues/121483
323-
- class: org.elasticsearch.xpack.transform.checkpoint.TransformCCSCanMatchIT
324-
method: testTransformLifecycle_RangeQueryThatMatchesNoShards
325-
issue: https://github.com/elastic/elasticsearch/issues/121480
326323
- class: org.elasticsearch.xpack.security.profile.ProfileIntegTests
327324
method: testSuggestProfilesWithHint
328325
issue: https://github.com/elastic/elasticsearch/issues/121116

x-pack/plugin/transform/src/internalClusterTest/java/org/elasticsearch/xpack/transform/checkpoint/TransformCCSCanMatchIT.java

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -12,6 +12,8 @@
1212
import org.apache.lucene.index.PointValues;
1313
import org.apache.lucene.util.SetOnce;
1414
import org.elasticsearch.action.ActionListener;
15+
import org.elasticsearch.action.admin.cluster.snapshots.features.ResetFeatureStateAction;
16+
import org.elasticsearch.action.admin.cluster.snapshots.features.ResetFeatureStateRequest;
1517
import org.elasticsearch.action.search.SearchRequest;
1618
import org.elasticsearch.action.support.IndicesOptions;
1719
import org.elasticsearch.action.support.master.AcknowledgedResponse;
@@ -61,6 +63,7 @@
6163
import org.elasticsearch.xpack.core.transform.transforms.TransformStats;
6264
import org.elasticsearch.xpack.core.transform.transforms.latest.LatestConfig;
6365
import org.elasticsearch.xpack.transform.LocalStateTransform;
66+
import org.junit.After;
6467
import org.junit.Before;
6568

6669
import java.io.IOException;
@@ -136,6 +139,11 @@ public void setUpNamedXContentRegistryAndIndices() throws Exception {
136139
remoteNewDocs = createIndexAndIndexDocs(REMOTE_CLUSTER, "remote_new_index", newRemoteNumShards, timestamp, randomBoolean());
137140
}
138141

142+
@After
143+
public void cleanup() {
144+
client().execute(ResetFeatureStateAction.INSTANCE, new ResetFeatureStateRequest(TEST_REQUEST_TIMEOUT)).actionGet();
145+
}
146+
139147
private int createIndexAndIndexDocs(String cluster, String index, int numberOfShards, long timestamp, boolean exposeTimestamp)
140148
throws Exception {
141149
Client client = client(cluster);

0 commit comments

Comments
 (0)