lucene-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From da...@apache.org
Subject lucene-solr:jira/solr-11702: SOLR-11702: Hardness ZkShardTermsTest.testCoreTermWatcher
Date Wed, 27 Dec 2017 08:23:45 GMT
Repository: lucene-solr
Updated Branches:
  refs/heads/jira/solr-11702 e22238df6 -> 81efe5209


SOLR-11702: Hardness ZkShardTermsTest.testCoreTermWatcher


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

Branch: refs/heads/jira/solr-11702
Commit: 81efe5209a44210a8ee4625c18a84bdd11068b74
Parents: e22238d
Author: Cao Manh Dat <datcm@apache.org>
Authored: Wed Dec 27 15:23:25 2017 +0700
Committer: Cao Manh Dat <datcm@apache.org>
Committed: Wed Dec 27 15:23:25 2017 +0700

----------------------------------------------------------------------
 solr/core/src/test/org/apache/solr/cloud/ZkShardTermsTest.java | 1 +
 1 file changed, 1 insertion(+)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/lucene-solr/blob/81efe520/solr/core/src/test/org/apache/solr/cloud/ZkShardTermsTest.java
----------------------------------------------------------------------
diff --git a/solr/core/src/test/org/apache/solr/cloud/ZkShardTermsTest.java b/solr/core/src/test/org/apache/solr/cloud/ZkShardTermsTest.java
index 43b36ba..83f3fb0 100644
--- a/solr/core/src/test/org/apache/solr/cloud/ZkShardTermsTest.java
+++ b/solr/core/src/test/org/apache/solr/cloud/ZkShardTermsTest.java
@@ -169,6 +169,7 @@ public class ZkShardTermsTest extends SolrCloudTestCase {
     ZkShardTerms replicaTerms = new ZkShardTerms(collection, "shard1", cluster.getZkClient());
     replicaTerms.registerTerm("replica");
     waitFor(2, () -> replicaTerms.getTerms().size());
+    waitFor(2, () -> leaderTerms.getTerms().size());
 
     AtomicInteger count = new AtomicInteger(0);
     // this will get called for almost 2 times


Mime
View raw message