[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.
This commit is contained in:
jaymode 2015-10-13 09:54:43 -04:00
parent 4d7d29f65b
commit 077a401c28
1 changed files with 0 additions and 1 deletions

View File

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