mirror of
https://github.com/honeymoose/OpenSearch.git
synced 2025-03-01 08:29:09 +00:00
[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) {
|
public void wipe(Set<String> excludeTemplates) {
|
||||||
wipeIndices("_all");
|
wipeIndices("_all");
|
||||||
wipeTemplates();
|
|
||||||
wipeAllTemplates(excludeTemplates);
|
wipeAllTemplates(excludeTemplates);
|
||||||
wipeRepositories();
|
wipeRepositories();
|
||||||
}
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user