mirror of https://github.com/apache/lucene.git
disable TestInjection in RestartWhileUpdatingTest
work around for SOLR-13189 and SOLR-13212
This commit is contained in:
parent
475f2fd36b
commit
956772b7ef
|
@ -24,7 +24,6 @@ import org.apache.lucene.util.LuceneTestCase.Nightly;
|
||||||
import org.apache.lucene.util.LuceneTestCase.Slow;
|
import org.apache.lucene.util.LuceneTestCase.Slow;
|
||||||
import org.apache.solr.client.solrj.SolrServerException;
|
import org.apache.solr.client.solrj.SolrServerException;
|
||||||
import org.apache.solr.common.SolrInputDocument;
|
import org.apache.solr.common.SolrInputDocument;
|
||||||
import org.apache.solr.util.TestInjection;
|
|
||||||
import org.junit.AfterClass;
|
import org.junit.AfterClass;
|
||||||
import org.junit.BeforeClass;
|
import org.junit.BeforeClass;
|
||||||
import org.junit.Test;
|
import org.junit.Test;
|
||||||
|
@ -62,8 +61,8 @@ public class RestartWhileUpdatingTest extends AbstractFullDistribZkTestBase {
|
||||||
System.setProperty("leaderVoteWait", "300000");
|
System.setProperty("leaderVoteWait", "300000");
|
||||||
System.setProperty("solr.autoCommit.maxTime", "30000");
|
System.setProperty("solr.autoCommit.maxTime", "30000");
|
||||||
System.setProperty("solr.autoSoftCommit.maxTime", "3000");
|
System.setProperty("solr.autoSoftCommit.maxTime", "3000");
|
||||||
TestInjection.nonGracefullClose = "true:60";
|
// SOLR-13212 // TestInjection.nonGracefullClose = "true:60";
|
||||||
TestInjection.failReplicaRequests = "true:03";
|
// SOLR-13189 // TestInjection.failReplicaRequests = "true:03";
|
||||||
}
|
}
|
||||||
|
|
||||||
@AfterClass
|
@AfterClass
|
||||||
|
@ -74,8 +73,6 @@ public class RestartWhileUpdatingTest extends AbstractFullDistribZkTestBase {
|
||||||
}
|
}
|
||||||
|
|
||||||
@Test
|
@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 {
|
public void test() throws Exception {
|
||||||
handle.clear();
|
handle.clear();
|
||||||
handle.put("timestamp", SKIPVAL);
|
handle.put("timestamp", SKIPVAL);
|
||||||
|
|
Loading…
Reference in New Issue