Skip to content

armgit / solr

Public Imported from GitHub
0

Apache Solr open-source search software

disable TestInjection in RestartWhileUpdatingTest

Chris Hostetter956772b7ef68
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 eb64f6dd432..3dbb3b53ee9 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);