Revert "@Ignore logging tests that fail on CI"

This reverts commit 2630aa732f.
pull/7/head
Phillip Webb 12 years ago
parent b81dff9214
commit 83d3b508a8

@ -26,7 +26,6 @@ import org.apache.commons.logging.Log;
import org.apache.commons.logging.LogFactory;
import org.junit.After;
import org.junit.Before;
import org.junit.Ignore;
import org.junit.Test;
import static org.junit.Assert.assertTrue;
@ -63,9 +62,7 @@ public class JavaLoggerConfigurerTests {
}
@Test
@Ignore
public void testDefaultConfigLocation() throws Exception {
// FIXME Fails on CI
JavaLoggerConfigurer.initLogging("classpath:logging-nondefault.properties");
Log logger = LogFactory.getLog(JavaLoggerConfigurerTests.class);
logger.info("Hello world");

@ -25,7 +25,6 @@ import org.apache.commons.logging.Log;
import org.apache.commons.logging.LogFactory;
import org.junit.After;
import org.junit.Before;
import org.junit.Ignore;
import org.junit.Test;
import org.springframework.bootstrap.context.initializer.LoggingApplicationContextInitializer;
import org.springframework.context.support.GenericApplicationContext;
@ -69,9 +68,7 @@ public class LoggingApplicationContextInitializerTests {
}
@Test
@Ignore
public void testDefaultConfigLocation() {
// FIXME Fails on CI
GenericApplicationContext context = new GenericApplicationContext();
this.initializer.initialize(context);
Log logger = LogFactory.getLog(LoggingApplicationContextInitializerTests.class);

Loading…
Cancel
Save