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@702d1c61ed
This commit is contained in:
Alexander Reelsen 2017-08-11 14:11:50 +02:00
parent cb3f3d2d04
commit 26c5766a0d
1 changed files with 5 additions and 0 deletions

View File

@ -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()