Forgot to add the detail!
The output from ant for this test is:
SizeBasedRolling:
[junit] Running org.apache.log4j.rolling.SizeBasedRollingTest
[junit] *** configurationOptionStr=null
[junit] ** End of LogManager static initializer
[junit] Tests run: 2, Failures: 1, Errors: 0, Time elapsed: 2.672 sec
[junit] Testsuite: org.apache.log4j.rolling.SizeBasedRollingTest
[junit] Tests run: 2, Failures: 1, Errors: 0, Time elapsed: 2.672 sec
[junit] ------------- Standard Output ---------------
[junit] 0 [main] WARN org.apache.log4j.rolling.FixedWindowRollingPolicy
- The ActiveFile name option must be set before using this rolling po
licy.
[junit] 2005-04-18 23:17:05,812 DEBUG
org.apache.log4j.rolling.SizeBasedRollingTest -Hello---0
[junit] 2005-04-18 23:17:05,906 DEBUG
org.apache.log4j.rolling.SizeBasedRollingTest -Hello---1
[junit] 2005-04-18 23:17:06,015 DEBUG
org.apache.log4j.rolling.SizeBasedRollingTest -Hello---2
[junit] 2005-04-18 23:17:06,109 DEBUG
org.apache.log4j.rolling.SizeBasedRollingTest -Hello---3
[junit] 2005-04-18 23:17:06,203 DEBUG
org.apache.log4j.rolling.SizeBasedRollingTest -Hello---4
[junit] 2005-04-18 23:17:06,312 DEBUG
org.apache.log4j.rolling.SizeBasedRollingTest -Hello---5
[junit] 2005-04-18 23:17:06,406 DEBUG
org.apache.log4j.rolling.SizeBasedRollingTest -Hello---6
[junit] 2005-04-18 23:17:06,515 DEBUG
org.apache.log4j.rolling.SizeBasedRollingTest -Hello---7
[junit] 2005-04-18 23:17:06,609 DEBUG
org.apache.log4j.rolling.SizeBasedRollingTest -Hello---8
[junit] 2005-04-18 23:17:06,718 DEBUG
org.apache.log4j.rolling.SizeBasedRollingTest -Hello---9
[junit] 2005-04-18 23:17:06,812 DEBUG
org.apache.log4j.rolling.SizeBasedRollingTest -Hello--10
[junit] 2005-04-18 23:17:06,906 DEBUG
org.apache.log4j.rolling.SizeBasedRollingTest -Hello--11
[junit] 1234 [main] INFO
org.apache.log4j.rolling.FixedWindowRollingPolicy - Skipping rollover for
inexistent file output/sizeBased-test2.6
[junit] 1234 [main] INFO
org.apache.log4j.rolling.FixedWindowRollingPolicy - Skipping rollover for
inexistent file output/sizeBased-test2.5
[junit] 1234 [main] INFO
org.apache.log4j.rolling.FixedWindowRollingPolicy - Skipping rollover for
inexistent file output/sizeBased-test2.4
[junit] 1234 [main] INFO
org.apache.log4j.rolling.FixedWindowRollingPolicy - Skipping rollover for
inexistent file output/sizeBased-test2.3
[junit] 1234 [main] INFO
org.apache.log4j.rolling.FixedWindowRollingPolicy - Skipping rollover for
inexistent file output/sizeBased-test2.2
[junit] 1234 [main] INFO
org.apache.log4j.rolling.FixedWindowRollingPolicy - Skipping rollover for
inexistent file output/sizeBased-test2.1
[junit] 1234 [main] INFO
org.apache.log4j.rolling.FixedWindowRollingPolicy - Skipping rollover for
inexistent file output/sizeBased-test2.0
[junit] 2005-04-18 23:17:07,031 DEBUG
org.apache.log4j.rolling.SizeBasedRollingTest -Hello--12
[junit] 2005-04-18 23:17:07,140 DEBUG
org.apache.log4j.rolling.SizeBasedRollingTest -Hello--13
[junit] 2005-04-18 23:17:07,234 DEBUG
org.apache.log4j.rolling.SizeBasedRollingTest -Hello--14
[junit] 2005-04-18 23:17:07,343 DEBUG
org.apache.log4j.rolling.SizeBasedRollingTest -Hello--15
[junit] 2005-04-18 23:17:07,437 DEBUG
org.apache.log4j.rolling.SizeBasedRollingTest -Hello--16
[junit] 2005-04-18 23:17:07,546 DEBUG
org.apache.log4j.rolling.SizeBasedRollingTest -Hello--17
[junit] 2005-04-18 23:17:07,656 DEBUG
org.apache.log4j.rolling.SizeBasedRollingTest -Hello--18
[junit] 2005-04-18 23:17:07,750 DEBUG
org.apache.log4j.rolling.SizeBasedRollingTest -Hello--19
[junit] 2005-04-18 23:17:07,859 DEBUG
org.apache.log4j.rolling.SizeBasedRollingTest -Hello--20
[junit] 2005-04-18 23:17:07,953 DEBUG
org.apache.log4j.rolling.SizeBasedRollingTest -Hello--21
[junit] 2005-04-18 23:17:08,062 DEBUG
org.apache.log4j.rolling.SizeBasedRollingTest -Hello--22
[junit] 2005-04-18 23:17:08,156 DEBUG
org.apache.log4j.rolling.SizeBasedRollingTest -Hello--23
[junit] 2005-04-18 23:17:08,250 DEBUG
org.apache.log4j.rolling.SizeBasedRollingTest -Hello--24
[junit] ------------- ---------------- ---------------
[junit] Testcase: test1 took 0.11 sec
[junit] Testcase: test2 took 2.562 sec
[junit] FAILED
[junit] null
[junit] junit.framework.AssertionFailedError
[junit] at
org.apache.log4j.rolling.SizeBasedRollingTest.test2(SizeBasedRollingTest.jav
a:118)
[junit] at sun.reflect.NativeMethodAccessorImpl.invoke0(Native
Method)
[junit] at
sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39
)
[junit] at
sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl
.java:25)
BUILD FAILED
> -----Original Message-----
> From: Andy McBride [mailto:[EMAIL PROTECTED]
> Sent: 18 April 2005 23:20
> To: Log4J Developers List
> Subject: SizeBasedRollingTest failing due to output/sizeBased-test2.1 not
> existing
>
> Hi,
>
> On a clean checkout of log4j head, the runAll target in tests/build.xml
> fails on SizeBasedRollingTest due to output/sizeBased-test2.1 not
> existing.
>
>
> Reverting the SizeBasedRollingTest class back to version 1.9 makes the
> test
> succeed.
>
> I'm running on ant 1.6.2 and jdk1.4.2 on WinXP.
>
> Is there something extra I need to do to cause this output file be created
> or is the test for its presence incorrect?
>
> Any help would be gratefully received.
>
> Regards
>
> Andy
>
>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: [EMAIL PROTECTED]
> For additional commands, e-mail: [EMAIL PROTECTED]
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]