Browse Source

[TEST] do not wipe excluded templates

In #13606, the ability to exclude a template from being wiped was added but a call to
wipeTemplates() was not removed, so all index templates were still being removed.

This change removes the wipeTemplates() call in the wipe method so that only the
non-excluded templates are removed.
jaymode 10 years ago
parent
commit
077a401c28
1 changed files with 0 additions and 1 deletions
  1. 0 1
      core/src/test/java/org/elasticsearch/test/TestCluster.java

+ 0 - 1
core/src/test/java/org/elasticsearch/test/TestCluster.java

@@ -75,7 +75,6 @@ public abstract class TestCluster implements Iterable<Client>, Closeable {
      */
     public void wipe(Set<String> excludeTemplates) {
         wipeIndices("_all");
-        wipeTemplates();
         wipeAllTemplates(excludeTemplates);
         wipeRepositories();
     }