mirror of
https://github.com/spring-projects/spring-boot.git
synced 2024-08-29 03:06:45 +08:00
Revert "@Ignore logging tests that fail on CI"
This reverts commit 2630aa732f
.
This commit is contained in:
parent
b81dff9214
commit
83d3b508a8
@ -26,7 +26,6 @@ import org.apache.commons.logging.Log;
|
|||||||
import org.apache.commons.logging.LogFactory;
|
import org.apache.commons.logging.LogFactory;
|
||||||
import org.junit.After;
|
import org.junit.After;
|
||||||
import org.junit.Before;
|
import org.junit.Before;
|
||||||
import org.junit.Ignore;
|
|
||||||
import org.junit.Test;
|
import org.junit.Test;
|
||||||
|
|
||||||
import static org.junit.Assert.assertTrue;
|
import static org.junit.Assert.assertTrue;
|
||||||
@ -63,9 +62,7 @@ public class JavaLoggerConfigurerTests {
|
|||||||
}
|
}
|
||||||
|
|
||||||
@Test
|
@Test
|
||||||
@Ignore
|
|
||||||
public void testDefaultConfigLocation() throws Exception {
|
public void testDefaultConfigLocation() throws Exception {
|
||||||
// FIXME Fails on CI
|
|
||||||
JavaLoggerConfigurer.initLogging("classpath:logging-nondefault.properties");
|
JavaLoggerConfigurer.initLogging("classpath:logging-nondefault.properties");
|
||||||
Log logger = LogFactory.getLog(JavaLoggerConfigurerTests.class);
|
Log logger = LogFactory.getLog(JavaLoggerConfigurerTests.class);
|
||||||
logger.info("Hello world");
|
logger.info("Hello world");
|
||||||
|
@ -25,7 +25,6 @@ import org.apache.commons.logging.Log;
|
|||||||
import org.apache.commons.logging.LogFactory;
|
import org.apache.commons.logging.LogFactory;
|
||||||
import org.junit.After;
|
import org.junit.After;
|
||||||
import org.junit.Before;
|
import org.junit.Before;
|
||||||
import org.junit.Ignore;
|
|
||||||
import org.junit.Test;
|
import org.junit.Test;
|
||||||
import org.springframework.bootstrap.context.initializer.LoggingApplicationContextInitializer;
|
import org.springframework.bootstrap.context.initializer.LoggingApplicationContextInitializer;
|
||||||
import org.springframework.context.support.GenericApplicationContext;
|
import org.springframework.context.support.GenericApplicationContext;
|
||||||
@ -69,9 +68,7 @@ public class LoggingApplicationContextInitializerTests {
|
|||||||
}
|
}
|
||||||
|
|
||||||
@Test
|
@Test
|
||||||
@Ignore
|
|
||||||
public void testDefaultConfigLocation() {
|
public void testDefaultConfigLocation() {
|
||||||
// FIXME Fails on CI
|
|
||||||
GenericApplicationContext context = new GenericApplicationContext();
|
GenericApplicationContext context = new GenericApplicationContext();
|
||||||
this.initializer.initialize(context);
|
this.initializer.initialize(context);
|
||||||
Log logger = LogFactory.getLog(LoggingApplicationContextInitializerTests.class);
|
Log logger = LogFactory.getLog(LoggingApplicationContextInitializerTests.class);
|
||||||
|
Loading…
Reference in New Issue
Block a user