[DOCS][TESTS] Don’t randomise content type for docs tests. (elastic/x-pack-elasticsearch#3058)

Original commit: elastic/x-pack-elasticsearch@7617901ff8
This commit is contained in:
David Kyle 2017-11-20 13:32:14 +00:00 committed by GitHub
parent f8cb1e603b
commit 040be7da9d
1 changed files with 5 additions and 1 deletions

View File

@ -88,7 +88,6 @@ public class XDocsClientYamlTestSuiteIT extends ESClientYamlSuiteTestCase {
if (state.equals("started") == false || state.equals("starting") == false) {
getAdminExecutionContext().callApi("xpack.watcher.start", emptyMap(), emptyList(), emptyMap());
}
assertThat(state, is("started"));
});
}
@ -122,4 +121,9 @@ public class XDocsClientYamlTestSuiteIT extends ESClientYamlSuiteTestCase {
public void cleanMlState() {
new MlRestTestStateCleaner(logger, adminClient(), this);
}
@Override
protected boolean randomizeContentType() {
return false;
}
}