You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@lucene.apache.org by gu...@apache.org on 2019/05/30 14:15:49 UTC
[lucene-solr] branch master updated: SOLR-13491 - Touch-up test.
Beasting failed 1/50 (5) Now passes 500/500 (20).
This is an automated email from the ASF dual-hosted git repository.
gus pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/lucene-solr.git
The following commit(s) were added to refs/heads/master by this push:
new 6ede32a SOLR-13491 - Touch-up test. Beasting failed 1/50 (5) Now passes 500/500 (20).
6ede32a is described below
commit 6ede32a0796eead46c214104d92c083aabb18f2d
Author: Gus Heck <gu...@apache.org>
AuthorDate: Thu May 30 10:05:32 2019 -0400
SOLR-13491 - Touch-up test. Beasting failed 1/50 (5) Now passes 500/500 (20).
---
solr/solrj/src/test/org/apache/solr/common/cloud/SolrZkClientTest.java | 3 +++
1 file changed, 3 insertions(+)
diff --git a/solr/solrj/src/test/org/apache/solr/common/cloud/SolrZkClientTest.java b/solr/solrj/src/test/org/apache/solr/common/cloud/SolrZkClientTest.java
index 472b7ef..6f14f8f 100644
--- a/solr/solrj/src/test/org/apache/solr/common/cloud/SolrZkClientTest.java
+++ b/solr/solrj/src/test/org/apache/solr/common/cloud/SolrZkClientTest.java
@@ -185,13 +185,16 @@ public class SolrZkClientTest extends SolrCloudTestCase {
CollectionAdminRequest.setCollectionProperty(getSaferTestName(),"baz", "bam")
.process(solrClient);
+ Thread.sleep(1000); // make sure zk client watch has time to be notified.
assertEquals(1, calls.get()); // same wrapped watch set twice, only invoked once
+
solrClient.getZkStateReader().getZkClient().getData("/collections/" + getSaferTestName() + "/collectionprops.json",wrapped1A, null,true);
solrClient.getZkStateReader().getZkClient().getData("/collections/" + getSaferTestName() + "/collectionprops.json",wrappedB, null,true);
CollectionAdminRequest.setCollectionProperty(getSaferTestName(),"baz", "bang")
.process(solrClient);
+ Thread.sleep(1000); // make sure zk client watch has time to be notified.
assertEquals(1, calls.get()); // offsetting watches, no change
}