Skip to content

Commit e4c35eb

Browse files
Hendrik Muhsjkakavas
authored andcommitted
do not assert on indexer state (#44854)
remove the unreliable check for the state change fixes #44813
1 parent 2069e38 commit e4c35eb

File tree

1 file changed

+0
-1
lines changed

1 file changed

+0
-1
lines changed

x-pack/plugin/core/src/test/java/org/elasticsearch/xpack/core/indexing/AsyncTwoPhaseIndexerTests.java

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -393,7 +393,6 @@ public void testFiveRuns() throws InterruptedException {
393393
indexer.start();
394394
assertThat(indexer.getState(), equalTo(IndexerState.STARTED));
395395
assertTrue(indexer.maybeTriggerAsyncJob(System.currentTimeMillis()));
396-
assertThat(indexer.getState(), equalTo(IndexerState.INDEXING));
397396
assertTrue(awaitBusy(() -> isFinished.get()));
398397
indexer.assertCounters();
399398
} finally {

0 commit comments

Comments
 (0)