We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 0228225 commit 40676bcCopy full SHA for 40676bc
server/src/test/java/org/elasticsearch/action/ingest/SimulateExecutionServiceTests.java
@@ -42,6 +42,7 @@
42
import java.util.List;
43
import java.util.Map;
44
import java.util.concurrent.CountDownLatch;
45
+import java.util.concurrent.TimeUnit;
46
import java.util.concurrent.atomic.AtomicReference;
47
import java.util.function.BiConsumer;
48
@@ -378,7 +379,7 @@ public String getType() {
378
379
errorHolder.set(e);
380
latch.countDown();
381
}));
- latch.await();
382
+ latch.await(1, TimeUnit.MINUTES);
383
assertThat(errorHolder.get(), nullValue());
384
SimulatePipelineResponse response = responseHolder.get();
385
assertThat(response, notNullValue());
0 commit comments