Skip to content

Apache Lucene open-source search software

fixed testcase which failed with -Dtests.multiplier > 1

Simon Willnauer84af9e5b5e8c
diff --git a/solr/src/test/org/apache/solr/handler/TestReplicationHandler.java b/solr/src/test/org/apache/solr/handler/TestReplicationHandler.java
index a7670bd464b..addd3d445e1 100644
--- a/solr/src/test/org/apache/solr/handler/TestReplicationHandler.java
+++ b/solr/src/test/org/apache/solr/handler/TestReplicationHandler.java
@@ -520,7 +520,6 @@ public class TestReplicationHandler extends SolrTestCaseJ4 {
@Test
public void testBackup() throws Exception {
-
masterJetty.stop();
copyFile(getFile(CONF_DIR + "solrconfig-master1.xml"), new File(master.getConfDir(), "solrconfig.xml"));
@@ -620,6 +619,7 @@ public class TestReplicationHandler extends SolrTestCaseJ4 {
assertEquals(nDocs, hits.totalHits);
searcher.close();
dir.close();
+ AbstractSolrTestCase.recurseDelete(snapDir); // clean up the snap dir
}
/* character copy of file using UTF-8 */