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:50 UTC
lucene-solr:branch_7x: SOLR-12801: Don't possibly block forever in
this test.
Repository: lucene-solr
Updated Branches:
refs/heads/branch_7x 2454f6c2b -> aeae27ee0
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/aeae27ee
Tree: http://git-wip-us.apache.org/repos/asf/lucene-solr/tree/aeae27ee
Diff: http://git-wip-us.apache.org/repos/asf/lucene-solr/diff/aeae27ee
Branch: refs/heads/branch_7x
Commit: aeae27ee0895bebf98083ba813554fa0e02ee967
Parents: 2454f6c
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:41 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/aeae27ee/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());