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 2021/02/25 08:38:42 UTC
[lucene-solr] branch reference_impl_dev updated: @1393 Test
hardening.
This is an automated email from the ASF dual-hosted git repository.
markrmiller pushed a commit to branch reference_impl_dev
in repository https://gitbox.apache.org/repos/asf/lucene-solr.git
The following commit(s) were added to refs/heads/reference_impl_dev by this push:
new 5654e52 @1393 Test hardening.
5654e52 is described below
commit 5654e5205c80ca764e2c5a0d796ce44021a5c120
Author: markrmiller@gmail.com <ma...@gmail.com>
AuthorDate: Thu Feb 25 02:38:24 2021 -0600
@1393 Test hardening.
Took 4 minutes
---
solr/core/src/test/org/apache/solr/cloud/MoveReplicaTest.java | 2 +-
solr/test-framework/src/java/org/apache/solr/SolrTestCaseJ4.java | 2 +-
2 files changed, 2 insertions(+), 2 deletions(-)
diff --git a/solr/core/src/test/org/apache/solr/cloud/MoveReplicaTest.java b/solr/core/src/test/org/apache/solr/cloud/MoveReplicaTest.java
index c63b872..67fc287 100644
--- a/solr/core/src/test/org/apache/solr/cloud/MoveReplicaTest.java
+++ b/solr/core/src/test/org/apache/solr/cloud/MoveReplicaTest.java
@@ -164,7 +164,7 @@ public class MoveReplicaTest extends SolrCloudTestCase {
assertEquals(100, cluster.getSolrClient().query(coll, new SolrQuery("*:*")).getResults().getNumFound());
} catch (Exception e) {
log.error("Exception on first query", e);
- Thread.sleep(450);
+ Thread.sleep( 700);
assertEquals(100, cluster.getSolrClient().query(coll, new SolrQuery("*:*")).getResults().getNumFound());
}
diff --git a/solr/test-framework/src/java/org/apache/solr/SolrTestCaseJ4.java b/solr/test-framework/src/java/org/apache/solr/SolrTestCaseJ4.java
index 3b976a2..c632c2c 100644
--- a/solr/test-framework/src/java/org/apache/solr/SolrTestCaseJ4.java
+++ b/solr/test-framework/src/java/org/apache/solr/SolrTestCaseJ4.java
@@ -2500,7 +2500,7 @@ public abstract class SolrTestCaseJ4 extends SolrTestCase {
if (newestSearcher != null) {
newestSearcher.decref();
}
- Thread.sleep(10);
+ Thread.sleep(30);
registeredSearcher = core.getRegisteredSearcher();
newestSearcher = core.getNewestSearcher(false);
}