Skip to content

Commit 2ca6306

Browse files
author
Hendrik Muhs
committed
do not assert on indexer state (#44854)
remove the unreliable check for the state change fixes #44813
1 parent b2e969f commit 2ca6306

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

-1
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)