mirror of
https://github.com/honeymoose/OpenSearch.git
synced 2025-02-10 06:55:32 +00:00
[TEST] added additional logging to LoggingConfigurationTests
This is to try to determine why the test passes locally but not on the CI builds
This commit is contained in:
parent
f8ea7c15d7
commit
c639815af9
@ -21,7 +21,6 @@ package org.elasticsearch.common.logging;
|
|||||||
|
|
||||||
import org.apache.log4j.Appender;
|
import org.apache.log4j.Appender;
|
||||||
import org.apache.log4j.Logger;
|
import org.apache.log4j.Logger;
|
||||||
import org.apache.lucene.util.LuceneTestCase.AwaitsFix;
|
|
||||||
import org.elasticsearch.common.logging.log4j.Log4jESLogger;
|
import org.elasticsearch.common.logging.log4j.Log4jESLogger;
|
||||||
import org.elasticsearch.common.logging.log4j.Log4jESLoggerFactory;
|
import org.elasticsearch.common.logging.log4j.Log4jESLoggerFactory;
|
||||||
import org.elasticsearch.common.logging.log4j.LogConfigurator;
|
import org.elasticsearch.common.logging.log4j.LogConfigurator;
|
||||||
@ -40,10 +39,11 @@ import static org.hamcrest.Matchers.notNullValue;
|
|||||||
*/
|
*/
|
||||||
public class LoggingConfigurationTests extends ElasticsearchTestCase {
|
public class LoggingConfigurationTests extends ElasticsearchTestCase {
|
||||||
|
|
||||||
@AwaitsFix(bugUrl = "relates to commit 4ebbb657")
|
// @AwaitsFix(bugUrl = "relates to commit 4ebbb657")
|
||||||
@Test
|
@Test
|
||||||
public void testMultipleConfigs() throws Exception {
|
public void testMultipleConfigs() throws Exception {
|
||||||
File configDir = resolveConfigDir();
|
File configDir = resolveConfigDir();
|
||||||
|
logger.info("Using config directory: {}", configDir.getAbsolutePath());
|
||||||
Settings settings = ImmutableSettings.builder()
|
Settings settings = ImmutableSettings.builder()
|
||||||
.put("path.conf", configDir.getAbsolutePath())
|
.put("path.conf", configDir.getAbsolutePath())
|
||||||
.build();
|
.build();
|
||||||
|
Loading…
x
Reference in New Issue
Block a user