|
@@ -222,6 +222,7 @@ public class AsyncTwoPhaseIndexerTests extends ESTestCase {
|
|
|
}
|
|
|
}
|
|
|
|
|
|
+ @AwaitsFix( bugUrl = "https://github.com/elastic/elasticsearch/issues/42084")
|
|
|
public void testStateMachine() throws Exception {
|
|
|
AtomicReference<IndexerState> state = new AtomicReference<>(IndexerState.STOPPED);
|
|
|
final ExecutorService executor = Executors.newFixedThreadPool(1);
|
|
@@ -264,6 +265,7 @@ public class AsyncTwoPhaseIndexerTests extends ESTestCase {
|
|
|
}
|
|
|
}
|
|
|
|
|
|
+ @AwaitsFix( bugUrl = "https://github.com/elastic/elasticsearch/issues/42084")
|
|
|
public void testStop_AfterIndexerIsFinished() throws InterruptedException {
|
|
|
AtomicReference<IndexerState> state = new AtomicReference<>(IndexerState.STOPPED);
|
|
|
final ExecutorService executor = Executors.newFixedThreadPool(1);
|
|
@@ -283,6 +285,7 @@ public class AsyncTwoPhaseIndexerTests extends ESTestCase {
|
|
|
}
|
|
|
}
|
|
|
|
|
|
+ @AwaitsFix( bugUrl = "https://github.com/elastic/elasticsearch/issues/42084")
|
|
|
public void testStop_WhileIndexing() throws InterruptedException {
|
|
|
AtomicReference<IndexerState> state = new AtomicReference<>(IndexerState.STOPPED);
|
|
|
final ExecutorService executor = Executors.newFixedThreadPool(1);
|