Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
Expand Up @@ -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;
Expand Down Expand Up @@ -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);
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -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;
Expand Down Expand Up @@ -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);
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -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;
Expand Down Expand Up @@ -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();

Expand Down