Tests: Do not delete index templates on bwc tests
In order to run the bwc tests there is no need to delete the
index template at the end of a test run which results
in recreation of those due to all the cluster state listener.
Relates elastic/x-pack-elasticsearch#2228
Original commit: elastic/x-pack-elasticsearch@8726943f0836451a45b2f6e2c77dc0dca25b728d
@@ -121,6 +121,11 @@ public class WatchBackwardsCompatibilityIT extends ESRestTestCase {
return true;
}
+ @Override
+ protected boolean preserveTemplatesUponCompletion() {
+ return true;
+ }
+
@Override
protected Settings restClientSettings() {
String token = "Basic " + Base64.getEncoder()
