[DOCS] Fix cleaning up ML resources after tests

Original commit: elastic/x-pack-elasticsearch@986bdcd1f3
This commit is contained in:
David Kyle 2017-11-27 10:02:16 +00:00
parent 304330e1bc
commit 3957518ab2
1 changed files with 2 additions and 2 deletions

View File

@ -118,8 +118,8 @@ public class XDocsClientYamlTestSuiteIT extends ESClientYamlSuiteTestCase {
}
@After
public void cleanMlState() {
new MlRestTestStateCleaner(logger, adminClient(), this);
public void cleanMlState() throws Exception {
new MlRestTestStateCleaner(logger, adminClient(), this).clearMlMetadata();
}
@Override