[DOCS] Fix cleaning up ML resources after tests
Original commit: elastic/x-pack-elasticsearch@986bdcd1f3
This commit is contained in:
parent
304330e1bc
commit
3957518ab2
|
@ -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
|
||||
|
|
Loading…
Reference in New Issue