mirror of
https://github.com/apache/lucene.git
synced 2025-02-28 05:19:17 +00:00
SOLR-13491 - Touch-up test. Beasting failed 1/50 (5) Now passes 500/500 (20).
This commit is contained in:
parent
d0c1c36c91
commit
6ede32a079
@ -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
|
||||
}
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user