mirror of https://github.com/apache/lucene.git
SOLR-5188: Bring back a test that checks the default LogWatcher enabled setting.
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1517816 13f79535-47bb-0310-9956-ffa450edef68
This commit is contained in:
parent
4e9f65f2b0
commit
cb439e9482
|
@ -181,6 +181,11 @@ public class TestCoreContainer extends SolrTestCaseJ4 {
|
|||
|
||||
}
|
||||
|
||||
@Test
|
||||
public void testLogWatcherEnabledByDefault() {
|
||||
assertNotNull(h.getCoreContainer().getLogging());
|
||||
}
|
||||
|
||||
private void SetUpHome(File solrHomeDirectory, String xmlFile) throws IOException {
|
||||
if (solrHomeDirectory.exists()) {
|
||||
FileUtils.deleteDirectory(solrHomeDirectory);
|
||||
|
|
|
@ -173,7 +173,6 @@ public class TestHarness extends BaseTestHarness {
|
|||
String solrConfig, String schema) {
|
||||
String solrxml = "<?xml version=\"1.0\" encoding=\"UTF-8\" ?>\n"
|
||||
+ "<solr persistent=\"false\">\n"
|
||||
+ " <logging enabled=\"true\"/>\n"
|
||||
+ " <cores adminPath=\"/admin/cores\" defaultCoreName=\""
|
||||
+ ConfigSolrXmlOld.DEFAULT_DEFAULT_CORE_NAME
|
||||
+ "\""
|
||||
|
|
Loading…
Reference in New Issue