Skip to content

Commit

Permalink
[TEST] do not wipe excluded templates
Browse files Browse the repository at this point in the history
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.
  • Loading branch information
jaymode committed Oct 13, 2015
1 parent 1f8913a commit f33d1d7
Showing 1 changed file with 0 additions and 1 deletion.
1 change: 0 additions & 1 deletion core/src/test/java/org/elasticsearch/test/TestCluster.java
Original file line number Diff line number Diff line change
Expand Up @@ -75,7 +75,6 @@ public void beforeTest(Random random, double transportClientRatio) throws IOExce
*/
public void wipe(Set<String> excludeTemplates) {
wipeIndices("_all");
wipeTemplates();
wipeAllTemplates(excludeTemplates);
wipeRepositories();
}
Expand Down

0 comments on commit f33d1d7

Please sign in to comment.