Skip to content

Apache Lucene open-source search software

SOLR-11426: removed infostream debug logging from master

Erick Erickson6b368c04846f
diff --git a/solr/core/src/test/org/apache/solr/core/TestLazyCores.java b/solr/core/src/test/org/apache/solr/core/TestLazyCores.java
index afc6b5ad06d..9d03ca45093 100644
--- a/solr/core/src/test/org/apache/solr/core/TestLazyCores.java
+++ b/solr/core/src/test/org/apache/solr/core/TestLazyCores.java
@@ -787,8 +787,6 @@ public class TestLazyCores extends SolrTestCaseJ4 {
// Cores 2, 3, 6, 7, 8, 9 are transient
@Test
public void testNoCommit() throws Exception {
- String infoStream = System.getProperty("solr.tests.infostream");
- System.setProperty("solr.tests.infostream","true");
DirectUpdateHandler2.commitOnClose = true;
CoreContainer cc = init();
@@ -837,11 +835,6 @@ public class TestLazyCores extends SolrTestCaseJ4 {
} finally {
cc.shutdown();
}
- if (infoStream != null) {
- System.setProperty("solr.tests.infostream", infoStream);
- } else {
- System.clearProperty("solr.tests.infostream");
- }
}
private void add10(SolrCore core) throws IOException {