You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@lucene.apache.org by ho...@apache.org on 2019/02/08 01:40:17 UTC
[lucene-solr] branch branch_8x updated: disable TestInjection in
RestartWhileUpdatingTest
This is an automated email from the ASF dual-hosted git repository.
hossman pushed a commit to branch branch_8x
in repository https://gitbox.apache.org/repos/asf/lucene-solr.git
The following commit(s) were added to refs/heads/branch_8x by this push:
new 2d48bde disable TestInjection in RestartWhileUpdatingTest
2d48bde is described below
commit 2d48bde21bfb69b897632ca2885a61583c659594
Author: Chris Hostetter <ho...@apache.org>
AuthorDate: Thu Feb 7 18:27:32 2019 -0700
disable TestInjection in RestartWhileUpdatingTest
work around for SOLR-13189 and SOLR-13212
(cherry picked from commit 956772b7ef6849ba701ecde8610cc0cc523676ff)
---
.../src/test/org/apache/solr/cloud/RestartWhileUpdatingTest.java | 7 ++-----
1 file changed, 2 insertions(+), 5 deletions(-)
diff --git a/solr/core/src/test/org/apache/solr/cloud/RestartWhileUpdatingTest.java b/solr/core/src/test/org/apache/solr/cloud/RestartWhileUpdatingTest.java
index eb64f6d..3dbb3b5 100644
--- a/solr/core/src/test/org/apache/solr/cloud/RestartWhileUpdatingTest.java
+++ b/solr/core/src/test/org/apache/solr/cloud/RestartWhileUpdatingTest.java
@@ -24,7 +24,6 @@ import org.apache.lucene.util.LuceneTestCase.Nightly;
import org.apache.lucene.util.LuceneTestCase.Slow;
import org.apache.solr.client.solrj.SolrServerException;
import org.apache.solr.common.SolrInputDocument;
-import org.apache.solr.util.TestInjection;
import org.junit.AfterClass;
import org.junit.BeforeClass;
import org.junit.Test;
@@ -62,8 +61,8 @@ public class RestartWhileUpdatingTest extends AbstractFullDistribZkTestBase {
System.setProperty("leaderVoteWait", "300000");
System.setProperty("solr.autoCommit.maxTime", "30000");
System.setProperty("solr.autoSoftCommit.maxTime", "3000");
- TestInjection.nonGracefullClose = "true:60";
- TestInjection.failReplicaRequests = "true:03";
+ // SOLR-13212 // TestInjection.nonGracefullClose = "true:60";
+ // SOLR-13189 // TestInjection.failReplicaRequests = "true:03";
}
@AfterClass
@@ -74,8 +73,6 @@ public class RestartWhileUpdatingTest extends AbstractFullDistribZkTestBase {
}
@Test
- //Commented 14-Oct-2018 @BadApple(bugUrl="https://issues.apache.org/jira/browse/SOLR-12028") // 21-May-2018
- @BadApple(bugUrl="https://issues.apache.org/jira/browse/SOLR-12028") // annotated on: 24-Dec-2018
public void test() throws Exception {
handle.clear();
handle.put("timestamp", SKIPVAL);