Mute failing AsyncTwoPhaseIndexerTests
See https://github.com/elastic/elasticsearch/issues/42084
This commit is contained in:
parent
24144aead2
commit
ffefc66260
|
@ -222,6 +222,7 @@ public class AsyncTwoPhaseIndexerTests extends ESTestCase {
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@AwaitsFix( bugUrl = "https://github.com/elastic/elasticsearch/issues/42084")
|
||||||
public void testStateMachine() throws Exception {
|
public void testStateMachine() throws Exception {
|
||||||
AtomicReference<IndexerState> state = new AtomicReference<>(IndexerState.STOPPED);
|
AtomicReference<IndexerState> state = new AtomicReference<>(IndexerState.STOPPED);
|
||||||
final ExecutorService executor = Executors.newFixedThreadPool(1);
|
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 {
|
public void testStop_AfterIndexerIsFinished() throws InterruptedException {
|
||||||
AtomicReference<IndexerState> state = new AtomicReference<>(IndexerState.STOPPED);
|
AtomicReference<IndexerState> state = new AtomicReference<>(IndexerState.STOPPED);
|
||||||
final ExecutorService executor = Executors.newFixedThreadPool(1);
|
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 {
|
public void testStop_WhileIndexing() throws InterruptedException {
|
||||||
AtomicReference<IndexerState> state = new AtomicReference<>(IndexerState.STOPPED);
|
AtomicReference<IndexerState> state = new AtomicReference<>(IndexerState.STOPPED);
|
||||||
final ExecutorService executor = Executors.newFixedThreadPool(1);
|
final ExecutorService executor = Executors.newFixedThreadPool(1);
|
||||||
|
|
Loading…
Reference in New Issue