From b294d8460f85d53bfe5ed57a7aa44911ab851aa2 Mon Sep 17 00:00:00 2001 From: markrmiller Date: Sat, 1 Dec 2018 12:54:56 -0600 Subject: [PATCH] SOLR-12801: Don't possibly block forever in this test in another spot. --- .../solr/cloud/autoscaling/sim/TestSimDistributedQueue.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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.java index 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");