Skip to content

Commit 6a1acc7

Browse files
committed
Do not call clusterCleanup in cleanup
1 parent a1b2f3d commit 6a1acc7

File tree

2 files changed

+2
-14
lines changed

2 files changed

+2
-14
lines changed

muted-tests.yml

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -374,8 +374,6 @@ tests:
374374
issue: https://github.com/elastic/elasticsearch/issues/121503
375375
- class: org.elasticsearch.xpack.application.CohereServiceUpgradeIT
376376
issue: https://github.com/elastic/elasticsearch/issues/121537
377-
- class: org.elasticsearch.xpack.migrate.action.ReindexDatastreamIndexTransportActionIT
378-
issue: https://github.com/elastic/elasticsearch/issues/121737
379377
- class: org.elasticsearch.xpack.restart.FullClusterRestartIT
380378
method: testWatcherWithApiKey {cluster=UPGRADED}
381379
issue: https://github.com/elastic/elasticsearch/issues/122061

x-pack/plugin/migrate/src/internalClusterTest/java/org/elasticsearch/xpack/migrate/action/ReindexDatastreamIndexTransportActionIT.java

Lines changed: 2 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -70,18 +70,8 @@
7070

7171
public class ReindexDatastreamIndexTransportActionIT extends ESIntegTestCase {
7272
@After
73-
private void cleanupCluster() throws Exception {
74-
safeGet(
75-
clusterAdmin().execute(
76-
DeletePipelineTransportAction.TYPE,
77-
new DeletePipelineRequest(
78-
TEST_REQUEST_TIMEOUT,
79-
TEST_REQUEST_TIMEOUT,
80-
MigrateTemplateRegistry.REINDEX_DATA_STREAM_PIPELINE_NAME
81-
)
82-
)
83-
);
84-
super.cleanUpCluster();
73+
private void cleanup() {
74+
deletePipeline(MigrateTemplateRegistry.REINDEX_DATA_STREAM_PIPELINE_NAME);
8575
}
8676

8777
private static final String MAPPING = """

0 commit comments

Comments
 (0)