You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@lucene.apache.org by ma...@apache.org on 2018/12/01 14:58:16 UTC

lucene-solr:master: SOLR-12801: Don't possibly block forever in this test.

Repository: lucene-solr
Updated Branches:
  refs/heads/master 755044b58 -> cbe9f8220


SOLR-12801: Don't possibly block forever in this test.


Project: http://git-wip-us.apache.org/repos/asf/lucene-solr/repo
Commit: http://git-wip-us.apache.org/repos/asf/lucene-solr/commit/cbe9f822
Tree: http://git-wip-us.apache.org/repos/asf/lucene-solr/tree/cbe9f822
Diff: http://git-wip-us.apache.org/repos/asf/lucene-solr/diff/cbe9f822

Branch: refs/heads/master
Commit: cbe9f82202c481a98d0f455758e6741f6c13ddcc
Parents: 755044b
Author: markrmiller <ma...@apache.org>
Authored: Sat Dec 1 08:58:13 2018 -0600
Committer: markrmiller <ma...@apache.org>
Committed: Sat Dec 1 08:58:13 2018 -0600

----------------------------------------------------------------------
 .../apache/solr/cloud/autoscaling/sim/TestSimDistributedQueue.java | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/lucene-solr/blob/cbe9f822/solr/core/src/test/org/apache/solr/cloud/autoscaling/sim/TestSimDistributedQueue.java
----------------------------------------------------------------------
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 ed9aac2..c607e48 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());