[TEST] Don't wait for relocations - the ensureYellow() call does that already

This commit is contained in:
Simon Willnauer 2014-07-02 22:09:48 +02:00
parent 8909a77724
commit fd19b42cbb

View File

@ -235,7 +235,6 @@ public class BasicBackwardsCompatibilityTest extends ElasticsearchBackwardsCompa
for (int i = 0; i < numIters; i++) { for (int i = 0; i < numIters; i++) {
assertHitCount(client().prepareCount().get(), numDocs); assertHitCount(client().prepareCount().get(), numDocs);
} }
ensureGreen(); // wait for all the relocation
assertVersionCreated(compatibilityVersion(), "test"); assertVersionCreated(compatibilityVersion(), "test");
} }