[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:
parent
4d7d29f65b
commit
077a401c28
|
@ -75,7 +75,6 @@ public abstract class TestCluster implements Iterable<Client>, Closeable {
|
|||
*/
|
||||
public void wipe(Set<String> excludeTemplates) {
|
||||
wipeIndices("_all");
|
||||
wipeTemplates();
|
||||
wipeAllTemplates(excludeTemplates);
|
||||
wipeRepositories();
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue