Repository: logging-log4j2
Updated Branches:
  refs/heads/master 04550c5f7 -> 0fea0176d


Make test more stable


Project: http://git-wip-us.apache.org/repos/asf/logging-log4j2/repo
Commit: http://git-wip-us.apache.org/repos/asf/logging-log4j2/commit/0fea0176
Tree: http://git-wip-us.apache.org/repos/asf/logging-log4j2/tree/0fea0176
Diff: http://git-wip-us.apache.org/repos/asf/logging-log4j2/diff/0fea0176

Branch: refs/heads/master
Commit: 0fea0176d24b4f8a4e926dcd0b04d91a8c0c251a
Parents: 04550c5
Author: Mikael StÃ¥ldal <[email protected]>
Authored: Thu Jul 27 20:44:27 2017 +0200
Committer: Mikael StÃ¥ldal <[email protected]>
Committed: Thu Jul 27 20:44:27 2017 +0200

----------------------------------------------------------------------
 .../rolling/RollingAppenderDirectWriteWithReconfigureTest.java  | 5 +----
 1 file changed, 1 insertion(+), 4 deletions(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/logging-log4j2/blob/0fea0176/log4j-core/src/test/java/org/apache/logging/log4j/core/appender/rolling/RollingAppenderDirectWriteWithReconfigureTest.java
----------------------------------------------------------------------
diff --git 
a/log4j-core/src/test/java/org/apache/logging/log4j/core/appender/rolling/RollingAppenderDirectWriteWithReconfigureTest.java
 
b/log4j-core/src/test/java/org/apache/logging/log4j/core/appender/rolling/RollingAppenderDirectWriteWithReconfigureTest.java
index fdb5936..cface50 100644
--- 
a/log4j-core/src/test/java/org/apache/logging/log4j/core/appender/rolling/RollingAppenderDirectWriteWithReconfigureTest.java
+++ 
b/log4j-core/src/test/java/org/apache/logging/log4j/core/appender/rolling/RollingAppenderDirectWriteWithReconfigureTest.java
@@ -51,9 +51,6 @@ public class RollingAppenderDirectWriteWithReconfigureTest {
 
     @Test
     public void testRollingFileAppenderWithReconfigure() throws Exception {
-        // TODO fix this test on Java 8 and Java 9
-        Assume.assumeTrue("Run only on Java 7", 
System.getProperty("java.specification.version").equals("1.7"));
-        
         logger.debug("Before reconfigure");
 
         @SuppressWarnings("resource") // managed by the rule.
@@ -61,7 +58,7 @@ public class RollingAppenderDirectWriteWithReconfigureTest {
         context.setConfigLocation(new URI(CONFIG));
         context.reconfigure();
 
-        Thread.sleep(1000);
+        Thread.sleep(2000);
 
         logger.debug("After reconfigure");
 

Reply via email to