diff --git a/x-pack/plugin/transform/qa/single-node-tests/src/javaRestTest/java/org/elasticsearch/xpack/transform/integration/TransformGetAndGetStatsIT.java b/x-pack/plugin/transform/qa/single-node-tests/src/javaRestTest/java/org/elasticsearch/xpack/transform/integration/TransformGetAndGetStatsIT.java index 4c7ab877cbc65..6c3cdae1be9f0 100644 --- a/x-pack/plugin/transform/qa/single-node-tests/src/javaRestTest/java/org/elasticsearch/xpack/transform/integration/TransformGetAndGetStatsIT.java +++ b/x-pack/plugin/transform/qa/single-node-tests/src/javaRestTest/java/org/elasticsearch/xpack/transform/integration/TransformGetAndGetStatsIT.java @@ -16,7 +16,6 @@ import org.elasticsearch.core.Strings; import org.elasticsearch.xpack.core.transform.TransformField; import org.elasticsearch.xpack.core.transform.transforms.persistence.TransformInternalIndexConstants; -import org.junit.After; import org.junit.Before; import java.io.IOException; @@ -64,11 +63,6 @@ public void createIndexes() throws IOException { } - @After - public void clearOutTransforms() throws Exception { - adminClient().performRequest(new Request("POST", "/_features/_reset")); - } - @SuppressWarnings("unchecked") public void testGetAndGetStats() throws Exception { createPivotReviewsTransform("pivot_1", "pivot_reviews_1", null); diff --git a/x-pack/plugin/transform/qa/single-node-tests/src/javaRestTest/java/org/elasticsearch/xpack/transform/integration/TransformRestTestCase.java b/x-pack/plugin/transform/qa/single-node-tests/src/javaRestTest/java/org/elasticsearch/xpack/transform/integration/TransformRestTestCase.java index 96478f5576107..1544f25770326 100644 --- a/x-pack/plugin/transform/qa/single-node-tests/src/javaRestTest/java/org/elasticsearch/xpack/transform/integration/TransformRestTestCase.java +++ b/x-pack/plugin/transform/qa/single-node-tests/src/javaRestTest/java/org/elasticsearch/xpack/transform/integration/TransformRestTestCase.java @@ -647,9 +647,6 @@ protected static void deleteTransform(String transformId, boolean ignoreNotFound public void waitForTransform() throws Exception { ensureNoInitializingShards(); logAudits(); - if (preserveClusterUponCompletion() == false) { - adminClient().performRequest(new Request("POST", "/_features/_reset")); - } } @AfterClass diff --git a/x-pack/plugin/transform/qa/single-node-tests/src/javaRestTest/java/org/elasticsearch/xpack/transform/integration/TransformTaskFailedStateIT.java b/x-pack/plugin/transform/qa/single-node-tests/src/javaRestTest/java/org/elasticsearch/xpack/transform/integration/TransformTaskFailedStateIT.java index 5ab65ca023506..4a54f8171dda4 100644 --- a/x-pack/plugin/transform/qa/single-node-tests/src/javaRestTest/java/org/elasticsearch/xpack/transform/integration/TransformTaskFailedStateIT.java +++ b/x-pack/plugin/transform/qa/single-node-tests/src/javaRestTest/java/org/elasticsearch/xpack/transform/integration/TransformTaskFailedStateIT.java @@ -16,7 +16,6 @@ import org.elasticsearch.rest.RestStatus; import org.elasticsearch.xcontent.XContentBuilder; import org.elasticsearch.xpack.core.transform.transforms.TransformStats; -import org.junit.After; import org.junit.Before; import java.io.IOException; @@ -52,11 +51,6 @@ public void setClusterSettings() throws IOException { client().performRequest(addFailureRetrySetting); } - @After - public void cleanUpPotentiallyFailedTransform() throws Exception { - adminClient().performRequest(new Request("POST", "/_features/_reset")); - } - public void testForceStopFailedTransform() throws Exception { String transformId = "test-force-stop-failed-transform"; createReviewsIndex(REVIEWS_INDEX_NAME, 10, 27, "date", false, -1, null); diff --git a/x-pack/plugin/transform/qa/single-node-tests/src/javaRestTest/java/org/elasticsearch/xpack/transform/integration/TransformUpgradeModeIT.java b/x-pack/plugin/transform/qa/single-node-tests/src/javaRestTest/java/org/elasticsearch/xpack/transform/integration/TransformUpgradeModeIT.java index 437d7aa5e26d9..97b74506848b4 100644 --- a/x-pack/plugin/transform/qa/single-node-tests/src/javaRestTest/java/org/elasticsearch/xpack/transform/integration/TransformUpgradeModeIT.java +++ b/x-pack/plugin/transform/qa/single-node-tests/src/javaRestTest/java/org/elasticsearch/xpack/transform/integration/TransformUpgradeModeIT.java @@ -7,14 +7,12 @@ package org.elasticsearch.xpack.transform.integration; -import org.elasticsearch.client.Request; import org.elasticsearch.client.Response; import org.elasticsearch.client.ResponseException; import org.elasticsearch.common.xcontent.support.XContentMapValues; import org.elasticsearch.core.CheckedRunnable; import org.elasticsearch.xpack.core.transform.TransformField; import org.elasticsearch.xpack.core.transform.transforms.TransformStats; -import org.junit.After; import org.junit.Before; import java.io.IOException; @@ -51,11 +49,6 @@ public void createIndexes() throws IOException { indicesCreated = true; } - @After - public void clearOutTransforms() throws Exception { - adminClient().performRequest(new Request("POST", "/_features/_reset")); - } - public void testUpgradeMode() throws Exception { var transformId = startTransform();