disable TestInjection in RestartWhileUpdatingTest

work around for SOLR-13189 and SOLR-13212
This commit is contained in:
Chris Hostetter 2019-02-07 18:27:32 -07:00
parent 475f2fd36b
commit 956772b7ef
1 changed files with 2 additions and 5 deletions

View File

@ -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);