From 2c978941f56476d0cbe925c116e3cd0840a11497 Mon Sep 17 00:00:00 2001 From: Simon Willnauer Date: Wed, 13 Jan 2016 10:03:20 +0100 Subject: [PATCH] fix test to wipe lenient index first --- .../org/elasticsearch/cluster/settings/ClusterSettingsIT.java | 1 + 1 file changed, 1 insertion(+) diff --git a/core/src/test/java/org/elasticsearch/cluster/settings/ClusterSettingsIT.java b/core/src/test/java/org/elasticsearch/cluster/settings/ClusterSettingsIT.java index fba6d8127b8..6cc8bf8bc67 100644 --- a/core/src/test/java/org/elasticsearch/cluster/settings/ClusterSettingsIT.java +++ b/core/src/test/java/org/elasticsearch/cluster/settings/ClusterSettingsIT.java @@ -335,6 +335,7 @@ public class ClusterSettingsIT extends ESIntegTestCase { assertAcked(prepareCreate("test")); ensureGreen(); client().admin().indices().prepareUpdateSettings("test").setSettings(Settings.builder().put("index.refresh_interval", "10")).execute().actionGet(); + client().admin().indices().prepareDelete("test").get(); } finally { // Restore the default so subsequent tests require units: assertFalse(Settings.getSettingsRequireUnits());