Ralph,

I've also seen this problem occasionally.
I've added some wait time between triggering the rollover and asserting its
completion.
Please let me know if the issue still occurs.

Best regards,
-Remko


On Mon, Jan 13, 2014 at 7:42 AM, Ralph Goers <[email protected]>wrote:

> I have frequently been seeing a unit test fail on my Mac and it just
> failed again in my Windows VM.  Can someone more familiar with this take a
> look to determine why it frequently fails?
>
> Thanks,
> Ralph
>
> Tests run: 1, Failures: 1, Errors: 0, Skipped: 0, Time elapsed: 3.432 sec
> <<< FAILURE! - in
> org.apache.logging.log4j.core.appender.RollingRandomAccessFileAppenderRolloverTest
> testRollover(org.apache.logging.log4j.core.appender.RollingRandomAccessFileAppenderRolloverTest)
> Time elapsed: 3.135 sec  <<< FAILURE!^M
> java.lang.AssertionError: afterRollover-1.log created
>         at org.junit.Assert.fail(Assert.java:88)
>         at org.junit.Assert.assertTrue(Assert.java:41)
>         at
> org.apache.logging.log4j.core.appender.RollingRandomAccessFileAppenderRolloverTest.testRollover(RollingRandomAccessFileAppenderRolloverTest.java:75)
>

Reply via email to