Apache Solr open-source search software
SOLR-12801: Don't possibly block forever in this test.
markrmillercbe9f82202c4
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 ed9aac247af..c607e48c97b 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@@ -71,7 +71,7 @@ public class TestSimDistributedQueue extends SolrTestCaseJ4 {// should block until the background thread makes the offer(new QueueChangerThread(dq, 1000)).start();- assertNotNull(dq.peek(true));+ assertNotNull(dq.peek(15000));assertNotNull(dq.remove());assertNull(dq.poll());