Increase test timeout
Project: http://git-wip-us.apache.org/repos/asf/logging-log4j2/repo Commit: http://git-wip-us.apache.org/repos/asf/logging-log4j2/commit/a81ec3d9 Tree: http://git-wip-us.apache.org/repos/asf/logging-log4j2/tree/a81ec3d9 Diff: http://git-wip-us.apache.org/repos/asf/logging-log4j2/diff/a81ec3d9 Branch: refs/heads/LOG4J2-1136 Commit: a81ec3d93b8fafc2622aeda802b8ee38c989b87c Parents: aa83df3 Author: Mikael Ståldal <[email protected]> Authored: Wed Sep 30 10:57:20 2015 +0200 Committer: Ralph Goers <[email protected]> Committed: Sat Oct 3 23:08:04 2015 -0700 ---------------------------------------------------------------------- .../log4j/core/appender/AsyncAppenderShutdownTimeoutTest.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) ---------------------------------------------------------------------- http://git-wip-us.apache.org/repos/asf/logging-log4j2/blob/a81ec3d9/log4j-core/src/test/java/org/apache/logging/log4j/core/appender/AsyncAppenderShutdownTimeoutTest.java ---------------------------------------------------------------------- diff --git a/log4j-core/src/test/java/org/apache/logging/log4j/core/appender/AsyncAppenderShutdownTimeoutTest.java b/log4j-core/src/test/java/org/apache/logging/log4j/core/appender/AsyncAppenderShutdownTimeoutTest.java index 8e9a73d..fb37f09 100644 --- a/log4j-core/src/test/java/org/apache/logging/log4j/core/appender/AsyncAppenderShutdownTimeoutTest.java +++ b/log4j-core/src/test/java/org/apache/logging/log4j/core/appender/AsyncAppenderShutdownTimeoutTest.java @@ -31,7 +31,7 @@ public class AsyncAppenderShutdownTimeoutTest { @ClassRule public static LoggerContextRule init = new LoggerContextRule("log4j-asynch-shutdownTimeout.xml"); - @Test(timeout = 2000) + @Test(timeout = 5000) public void shutdownTest() throws Exception { final LoggerContext ctx = (LoggerContext)LogManager.getContext(false); final Logger logger = ctx.getLogger("Logger");
