Apache Solr open-source search software
SOLR-12801: Don't possibly block forever in this test in another spot.
markrmillerb294d8460f85
diff --git a/solr/core/src/test/org/apache/solr/cloud/autoscaling/sim/TestSimDistributedQueue.java b/solr/core/src/test/org/apache/solr/cloud/autoscaling/sim/TestSimDistributedQueue.javaindex c607e48c97b..a997571e099 100644--- a/solr/core/src/test/org/apache/solr/cloud/autoscaling/sim/TestSimDistributedQueue.java+++ b/solr/core/src/test/org/apache/solr/cloud/autoscaling/sim/TestSimDistributedQueue.java@@ -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");