logging-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From grobme...@apache.org
Subject svn commit: r1494555 - /logging/log4j/companions/extras/trunk/src/test/java/org/apache/log4j/rolling/TimeBasedRollingTest.java
Date Wed, 19 Jun 2013 11:33:01 GMT
Author: grobmeier
Date: Wed Jun 19 11:33:01 2013
New Revision: 1494555

URL: http://svn.apache.org/r1494555
Log:
renamed testfiles to prevent name clash on release

Modified:
    logging/log4j/companions/extras/trunk/src/test/java/org/apache/log4j/rolling/TimeBasedRollingTest.java

Modified: logging/log4j/companions/extras/trunk/src/test/java/org/apache/log4j/rolling/TimeBasedRollingTest.java
URL: http://svn.apache.org/viewvc/logging/log4j/companions/extras/trunk/src/test/java/org/apache/log4j/rolling/TimeBasedRollingTest.java?rev=1494555&r1=1494554&r2=1494555&view=diff
==============================================================================
--- logging/log4j/companions/extras/trunk/src/test/java/org/apache/log4j/rolling/TimeBasedRollingTest.java
(original)
+++ logging/log4j/companions/extras/trunk/src/test/java/org/apache/log4j/rolling/TimeBasedRollingTest.java
Wed Jun 19 11:33:01 2013
@@ -105,7 +105,7 @@ public class TimeBasedRollingTest extend
     String datePattern = "yyyy-MM-dd_HH_mm_ss";
 
     TimeBasedRollingPolicy tbrp = new TimeBasedRollingPolicy();
-    tbrp.setFileNamePattern("target/test1-%d{" + datePattern + "}");
+    tbrp.setFileNamePattern("target/test-tbr-1-%d{" + datePattern + "}");
     tbrp.activateOptions();
     rfa.setRollingPolicy(tbrp);
     rfa.activateOptions();
@@ -117,7 +117,7 @@ public class TimeBasedRollingTest extend
     Calendar cal = Calendar.getInstance();
 
     for (int i = 0; i < 4; i++) {
-      filenames[i] = "target/test1-" + sdf.format(cal.getTime());
+      filenames[i] = "target/test-tbr-1-" + sdf.format(cal.getTime());
       cal.add(Calendar.SECOND, 1);
     }
 



Mime
View raw message