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/11/15 03:33:25 UTC

[lucene-solr] 01/03: @1206 Bridge tests can still hit a no update log configured - try this.

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

commit 030cf22ce3c828259fbfc06d381037ea4324b15f
Author: markrmiller@gmail.com <ma...@gmail.com>
AuthorDate: Sat Nov 14 21:20:01 2020 -0600

    @1206 Bridge tests can still hit a no update log configured - try this.
---
 .../src/test/org/apache/solr/cloud/SolrCloudBridgeTestCase.java     | 6 +++++-
 1 file changed, 5 insertions(+), 1 deletion(-)

diff --git a/solr/core/src/test/org/apache/solr/cloud/SolrCloudBridgeTestCase.java b/solr/core/src/test/org/apache/solr/cloud/SolrCloudBridgeTestCase.java
index 1a95e1f..de430cf 100644
--- a/solr/core/src/test/org/apache/solr/cloud/SolrCloudBridgeTestCase.java
+++ b/solr/core/src/test/org/apache/solr/cloud/SolrCloudBridgeTestCase.java
@@ -141,11 +141,15 @@ public abstract class SolrCloudBridgeTestCase extends SolrCloudTestCase {
   @Before
   public void beforeSolrCloudBridgeTestCase() throws Exception {
 
+
+
     System.setProperty("solr.test.sys.prop1", "propone");
     System.setProperty("solr.test.sys.prop2", "proptwo");
     
     cluster = configureCluster(numJettys).formatZk(formatZk).withSolrXml(TEST_PATH().resolve(solrxmlString)).withJettyConfig(jettyCfg -> jettyCfg.withServlets(extraServlets).enableProxy(enableProxy)).build();
-    
+
+    cluster.getZkClient().clean("/configs/_default");
+
     SolrZkClient zkClient = cluster.getZkClient();
 
     if (!zkClient.exists("/configs/_default")) {