mirror of https://github.com/apache/lucene.git
SOLR-12801: Don't possibly block forever in this test in another spot.
This commit is contained in:
parent
b5a9cca168
commit
b294d8460f
|
@ -105,7 +105,7 @@ public class TestSimDistributedQueue extends SolrTestCaseJ4 {
|
|||
assertNull(dq.peek(100));
|
||||
|
||||
// Rerun the earlier test make sure updates are still seen, post reconnection.
|
||||
future = executor.submit(() -> new String(dq.peek(true), UTF8));
|
||||
future = executor.submit(() -> new String(dq.peek(15000), UTF8));
|
||||
try {
|
||||
future.get(1000, TimeUnit.MILLISECONDS);
|
||||
fail("TimeoutException expected");
|
||||
|
|
Loading…
Reference in New Issue