do not assert on indexer state (#44854)

remove the unreliable check for the state change

fixes #44813
This commit is contained in:
Hendrik Muhs 2019-07-25 16:37:36 +02:00
parent b2e969f4ba
commit 2ca6306452
1 changed files with 0 additions and 1 deletions

View File

@ -393,7 +393,6 @@ public class AsyncTwoPhaseIndexerTests extends ESTestCase {
indexer.start();
assertThat(indexer.getState(), equalTo(IndexerState.STARTED));
assertTrue(indexer.maybeTriggerAsyncJob(System.currentTimeMillis()));
assertThat(indexer.getState(), equalTo(IndexerState.INDEXING));
assertTrue(awaitBusy(() -> isFinished.get()));
indexer.assertCounters();
} finally {