[TEST] Rename data-frames to transform in docs test cleanup (#47027)

The renaming of the tests in #46760 caused the
cleanup between tests to be skipped.

Backport of #47016
This commit is contained in:
David Roberts 2019-09-24 17:38:09 +01:00 committed by GitHub
parent f02582de4b
commit ffae769186
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 3 additions and 3 deletions

View File

@ -101,7 +101,7 @@ public class DocsClientYamlTestSuiteIT extends ESClientYamlSuiteTestCase {
@After
public void cleanup() throws Exception {
if (isMachineLearningTest() || isDataFrameTest()) {
if (isMachineLearningTest() || isTransformTest()) {
ESRestTestCase.waitForPendingTasks(adminClient());
}
}
@ -111,9 +111,9 @@ public class DocsClientYamlTestSuiteIT extends ESClientYamlSuiteTestCase {
return testName != null && (testName.contains("/ml/") || testName.contains("\\ml\\"));
}
protected boolean isDataFrameTest() {
protected boolean isTransformTest() {
String testName = getTestName();
return testName != null && (testName.contains("/data-frames/") || testName.contains("\\data-frames\\"));
return testName != null && (testName.contains("/transform/") || testName.contains("\\transform\\"));
}
/**