You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@lucene.apache.org by da...@apache.org on 2018/12/07 09:57:17 UTC
[02/37] lucene-solr:jira/http2: SOLR-12801: Don't possibly block
forever in this test in another spot.
SOLR-12801: Don't possibly block forever in this test in another spot.
Project: http://git-wip-us.apache.org/repos/asf/lucene-solr/repo
Commit: http://git-wip-us.apache.org/repos/asf/lucene-solr/commit/b294d846
Tree: http://git-wip-us.apache.org/repos/asf/lucene-solr/tree/b294d846
Diff: http://git-wip-us.apache.org/repos/asf/lucene-solr/diff/b294d846
Branch: refs/heads/jira/http2
Commit: b294d8460f85d53bfe5ed57a7aa44911ab851aa2
Parents: b5a9cca
Author: markrmiller <ma...@apache.org>
Authored: Sat Dec 1 12:54:56 2018 -0600
Committer: markrmiller <ma...@apache.org>
Committed: Sat Dec 1 12:55:05 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/b294d846/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 c607e48..a997571 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");