Skip to content

Commit 5051a83

Browse files
authored
[TEST] Rename data-frames to transform in docs test cleanup (#47016)
The renaming of the tests in #46760 caused the cleanup between tests to be skipped. Fixes #43271 Fixes #47012
1 parent 7935d88 commit 5051a83

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

docs/src/test/java/org/elasticsearch/smoketest/DocsClientYamlTestSuiteIT.java

+3-3
Original file line numberDiff line numberDiff line change
@@ -101,7 +101,7 @@ protected ClientYamlTestClient initClientYamlTestClient(
101101

102102
@After
103103
public void cleanup() throws Exception {
104-
if (isMachineLearningTest() || isDataFrameTest()) {
104+
if (isMachineLearningTest() || isTransformTest()) {
105105
ESRestTestCase.waitForPendingTasks(adminClient());
106106
}
107107
}
@@ -111,9 +111,9 @@ protected boolean isMachineLearningTest() {
111111
return testName != null && (testName.contains("/ml/") || testName.contains("\\ml\\"));
112112
}
113113

114-
protected boolean isDataFrameTest() {
114+
protected boolean isTransformTest() {
115115
String testName = getTestName();
116-
return testName != null && (testName.contains("/data-frames/") || testName.contains("\\data-frames\\"));
116+
return testName != null && (testName.contains("/transform/") || testName.contains("\\transform\\"));
117117
}
118118

119119
/**

0 commit comments

Comments
 (0)