Don't remove indices to avoid monitoring from intermittently failing
to index monitoring docs.
This commit is contained in:
parent
a17f394e27
commit
8b7100eb1f
|
@ -41,6 +41,12 @@ public abstract class CommonEnrichRestTestCase extends ESRestTestCase {
|
|||
}
|
||||
}
|
||||
|
||||
@Override
|
||||
protected boolean preserveIndicesUponCompletion() {
|
||||
// In order to avoid monitoring from failing exporting docs to monitor index.
|
||||
return true;
|
||||
}
|
||||
|
||||
private void setupGenericLifecycleTest(boolean deletePipeilne) throws Exception {
|
||||
// Create the policy:
|
||||
Request putPolicyRequest = new Request("PUT", "/_enrich/policy/my_policy");
|
||||
|
|
Loading…
Reference in New Issue