[logback-dev] svn commit: r698 - in logback/trunk/logback-core/src/test: java/ch/qos/logback/core/rolling witness/rolling
noreply.seb at qos.ch
noreply.seb at qos.ch
Tue Oct 17 15:34:52 CEST 2006
Author: seb
Date: Tue Oct 17 15:34:52 2006
New Revision: 698
Modified:
logback/trunk/logback-core/src/test/java/ch/qos/logback/core/rolling/TimeBasedRollingTest.java
logback/trunk/logback-core/src/test/witness/rolling/tbr-test1.1
logback/trunk/logback-core/src/test/witness/rolling/tbr-test1.2
logback/trunk/logback-core/src/test/witness/rolling/tbr-test2.1
logback/trunk/logback-core/src/test/witness/rolling/tbr-test2.2
logback/trunk/logback-core/src/test/witness/rolling/tbr-test3.1.gz
logback/trunk/logback-core/src/test/witness/rolling/tbr-test3.2
logback/trunk/logback-core/src/test/witness/rolling/tbr-test4.1
logback/trunk/logback-core/src/test/witness/rolling/tbr-test4.2
logback/trunk/logback-core/src/test/witness/rolling/tbr-test5.1
logback/trunk/logback-core/src/test/witness/rolling/tbr-test5.2
logback/trunk/logback-core/src/test/witness/rolling/tbr-test6.1.gz
logback/trunk/logback-core/src/test/witness/rolling/tbr-test6.2
Log:
correcting TimeBasedRollingTest.java
Modified: logback/trunk/logback-core/src/test/java/ch/qos/logback/core/rolling/TimeBasedRollingTest.java
==============================================================================
--- logback/trunk/logback-core/src/test/java/ch/qos/logback/core/rolling/TimeBasedRollingTest.java (original)
+++ logback/trunk/logback-core/src/test/java/ch/qos/logback/core/rolling/TimeBasedRollingTest.java Tue Oct 17 15:34:52 2006
@@ -257,7 +257,7 @@
delayUntilNextSecond(100);
System.out.println("Done waiting.");
- for (int i = 0; i <= 22; i++) {
+ for (int i = 0; i <= 20; i++) {
rfa1.doAppend("Hello---" + i);
Thread.sleep(50);
}
@@ -275,7 +275,7 @@
rfa2.setRollingPolicy(tbrp2);
rfa2.start();
- for (int i = 3; i <= 5; i++) {
+ for (int i = 1; i <= 5; i++) {
rfa2.doAppend("Hello---" + i);
Thread.sleep(20);
}
Modified: logback/trunk/logback-core/src/test/witness/rolling/tbr-test1.1
==============================================================================
--- logback/trunk/logback-core/src/test/witness/rolling/tbr-test1.1 (original)
+++ logback/trunk/logback-core/src/test/witness/rolling/tbr-test1.1 Tue Oct 17 15:34:52 2006
@@ -13,3 +13,6 @@
Hello---12
Hello---13
Hello---14
+Hello---15
+Hello---16
+Hello---17
\ No newline at end of file
Modified: logback/trunk/logback-core/src/test/witness/rolling/tbr-test1.2
==============================================================================
--- logback/trunk/logback-core/src/test/witness/rolling/tbr-test1.2 (original)
+++ logback/trunk/logback-core/src/test/witness/rolling/tbr-test1.2 Tue Oct 17 15:34:52 2006
@@ -1,5 +1,2 @@
-Hello---15
-Hello---16
-Hello---17
Hello---18
Hello---19
Modified: logback/trunk/logback-core/src/test/witness/rolling/tbr-test2.1
==============================================================================
--- logback/trunk/logback-core/src/test/witness/rolling/tbr-test2.1 (original)
+++ logback/trunk/logback-core/src/test/witness/rolling/tbr-test2.1 Tue Oct 17 15:34:52 2006
@@ -13,3 +13,6 @@
Hello---4
Hello---5
Hello---6
+Hello---7
+Hello---8
+Hello---9
\ No newline at end of file
Modified: logback/trunk/logback-core/src/test/witness/rolling/tbr-test2.2
==============================================================================
--- logback/trunk/logback-core/src/test/witness/rolling/tbr-test2.2 (original)
+++ logback/trunk/logback-core/src/test/witness/rolling/tbr-test2.2 Tue Oct 17 15:34:52 2006
@@ -1,4 +1 @@
-Hello---7
-Hello---8
-Hello---9
Hello---10
Modified: logback/trunk/logback-core/src/test/witness/rolling/tbr-test3.1.gz
==============================================================================
Binary files. No diff available.
Modified: logback/trunk/logback-core/src/test/witness/rolling/tbr-test3.2
==============================================================================
--- logback/trunk/logback-core/src/test/witness/rolling/tbr-test3.2 (original)
+++ logback/trunk/logback-core/src/test/witness/rolling/tbr-test3.2 Tue Oct 17 15:34:52 2006
@@ -1,5 +1,2 @@
-Hello---15
-Hello---16
-Hello---17
Hello---18
Hello---19
Modified: logback/trunk/logback-core/src/test/witness/rolling/tbr-test4.1
==============================================================================
--- logback/trunk/logback-core/src/test/witness/rolling/tbr-test4.1 (original)
+++ logback/trunk/logback-core/src/test/witness/rolling/tbr-test4.1 Tue Oct 17 15:34:52 2006
@@ -13,3 +13,6 @@
Hello---12
Hello---13
Hello---14
+Hello---15
+Hello---16
+Hello---17
Modified: logback/trunk/logback-core/src/test/witness/rolling/tbr-test4.2
==============================================================================
--- logback/trunk/logback-core/src/test/witness/rolling/tbr-test4.2 (original)
+++ logback/trunk/logback-core/src/test/witness/rolling/tbr-test4.2 Tue Oct 17 15:34:52 2006
@@ -1,11 +1,8 @@
-Hello---15
-Hello---16
-Hello---17
Hello---18
Hello---19
Hello---20
-Hello---21
-Hello---22
+Hello---1
+Hello---2
Hello---3
Hello---4
-Hello---5
\ No newline at end of file
+Hello---5
Modified: logback/trunk/logback-core/src/test/witness/rolling/tbr-test5.1
==============================================================================
--- logback/trunk/logback-core/src/test/witness/rolling/tbr-test5.1 (original)
+++ logback/trunk/logback-core/src/test/witness/rolling/tbr-test5.1 Tue Oct 17 15:34:52 2006
@@ -13,3 +13,6 @@
Hello---12
Hello---13
Hello---14
+Hello---15
+Hello---16
+Hello---17
Modified: logback/trunk/logback-core/src/test/witness/rolling/tbr-test5.2
==============================================================================
--- logback/trunk/logback-core/src/test/witness/rolling/tbr-test5.2 (original)
+++ logback/trunk/logback-core/src/test/witness/rolling/tbr-test5.2 Tue Oct 17 15:34:52 2006
@@ -1,5 +1,2 @@
-Hello---15
-Hello---16
-Hello---17
Hello---18
Hello---19
Modified: logback/trunk/logback-core/src/test/witness/rolling/tbr-test6.1.gz
==============================================================================
Binary files. No diff available.
Modified: logback/trunk/logback-core/src/test/witness/rolling/tbr-test6.2
==============================================================================
--- logback/trunk/logback-core/src/test/witness/rolling/tbr-test6.2 (original)
+++ logback/trunk/logback-core/src/test/witness/rolling/tbr-test6.2 Tue Oct 17 15:34:52 2006
@@ -1,5 +1,2 @@
-Hello---15
-Hello---16
-Hello---17
Hello---18
Hello---19
More information about the logback-dev
mailing list