logging-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From rpo...@apache.org
Subject svn commit: r1559676 - /logging/log4j/log4j2/trunk/log4j-core/src/test/java/org/apache/logging/log4j/core/appender/rolling/RollingRandomAccessFileManagerTest.java
Date Mon, 20 Jan 2014 12:33:45 GMT
Author: rpopma
Date: Mon Jan 20 12:33:44 2014
New Revision: 1559676

URL: http://svn.apache.org/r1559676
Log:
changed max rollover duration from 50ms to 500ms to prevent spuriously failing test

Modified:
    logging/log4j/log4j2/trunk/log4j-core/src/test/java/org/apache/logging/log4j/core/appender/rolling/RollingRandomAccessFileManagerTest.java

Modified: logging/log4j/log4j2/trunk/log4j-core/src/test/java/org/apache/logging/log4j/core/appender/rolling/RollingRandomAccessFileManagerTest.java
URL: http://svn.apache.org/viewvc/logging/log4j/log4j2/trunk/log4j-core/src/test/java/org/apache/logging/log4j/core/appender/rolling/RollingRandomAccessFileManagerTest.java?rev=1559676&r1=1559675&r2=1559676&view=diff
==============================================================================
--- logging/log4j/log4j2/trunk/log4j-core/src/test/java/org/apache/logging/log4j/core/appender/rolling/RollingRandomAccessFileManagerTest.java
(original)
+++ logging/log4j/log4j2/trunk/log4j-core/src/test/java/org/apache/logging/log4j/core/appender/rolling/RollingRandomAccessFileManagerTest.java
Mon Jan 20 12:33:44 2014
@@ -138,7 +138,7 @@ public class RollingRandomAccessFileMana
         // append is false deletes the file if it exists
         final boolean isAppend = false;
         final long expectedMin = System.currentTimeMillis();
-        final long expectedMax = expectedMin + 50;
+        final long expectedMax = expectedMin + 500;
         assertTrue(file.lastModified() < expectedMin);
 
         final RollingRandomAccessFileManager manager = RollingRandomAccessFileManager



Mime
View raw message