test: evaluate if this prevents the data loss that causes no alerts being loaded.

Original commit: elastic/x-pack-elasticsearch@611f3df816
This commit is contained in:
Martijn van Groningen 2015-02-25 23:31:11 +01:00
parent 1aad9fd390
commit c016516d7e
1 changed files with 1 additions and 0 deletions

View File

@ -112,6 +112,7 @@ public class NoMasterNodeTests extends AbstractAlertingTests {
.setAlertSource(alertSource) .setAlertSource(alertSource)
.get(); .get();
} }
ensureGreen();
for (int i = 1; i <= numberOfFailures; i++) { for (int i = 1; i <= numberOfFailures; i++) {
logger.info("Failure round {}", i); logger.info("Failure round {}", i);