do not assert on indexer state (#44854)
remove the unreliable check for the state change fixes #44813
This commit is contained in:
parent
b2e969f4ba
commit
2ca6306452
|
@ -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 {
|
||||
|
|
Loading…
Reference in New Issue