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 2020/07/28 17:56:36 UTC
[lucene-solr] branch reference_impl_dev updated: @431 Enable a
couple test methods.
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 139c2b7 @431 Enable a couple test methods.
139c2b7 is described below
commit 139c2b7897b736d7c58d32276e94ed9f0f72f1c1
Author: markrmiller@gmail.com <ma...@gmail.com>
AuthorDate: Tue Jul 28 12:56:19 2020 -0500
@431 Enable a couple test methods.
---
solr/core/src/test/org/apache/solr/cloud/ZkSolrClientTest.java | 10 +++++-----
1 file changed, 5 insertions(+), 5 deletions(-)
diff --git a/solr/core/src/test/org/apache/solr/cloud/ZkSolrClientTest.java b/solr/core/src/test/org/apache/solr/cloud/ZkSolrClientTest.java
index f5050a8..daa9225 100644
--- a/solr/core/src/test/org/apache/solr/cloud/ZkSolrClientTest.java
+++ b/solr/core/src/test/org/apache/solr/cloud/ZkSolrClientTest.java
@@ -225,7 +225,6 @@ public class ZkSolrClientTest extends SolrTestCaseJ4 {
}
@Test
- @Ignore // nocommit debug
public void testMultipleWatchesAsync() throws Exception {
try (ZkConnection conn = new ZkConnection()) {
final SolrZkClient zkClient = conn.getClient();
@@ -276,7 +275,6 @@ public class ZkSolrClientTest extends SolrTestCaseJ4 {
}
}
- @Ignore // nocommit - flakey
public void testWatchChildren() throws Exception {
try (ZkConnection conn = new ZkConnection ()) {
final SolrZkClient zkClient = conn.getClient();
@@ -300,13 +298,15 @@ public class ZkSolrClientTest extends SolrTestCaseJ4 {
}
}, true);
+ zkClient.mkdir("/collections/collection99");
zkClient.mkdir("/collections/collection99/shards");
latch.await(); //wait until watch has been re-created
- zkClient.mkdir("collections/collection99/config=collection1");
+ zkClient.mkdir("/collections/collection99/config=collection1");
- zkClient.mkdir("collections/collection99/config=collection3");
-
+ zkClient.mkdir("/collections/collection99/config=collection3");
+
+ zkClient.mkdir("/collections/collection97");
zkClient.mkdir("/collections/collection97/shards");
assertEquals(2, cnt.intValue());