logging-log4j-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Ralph Goers <ralph.go...@dslextreme.com>
Subject Re: Need help with a unit test
Date Thu, 18 Jul 2013 06:56:32 GMT
I set the test to @Ignore so I could continue working.

Ralph

On Jul 17, 2013, at 7:21 PM, Gary Gregory wrote:

> The test is now called XmlCompactFileAsyncAppenderValidationTest and is still not working.
> 
> The test XmlCompactFileAppenderValidationTest is no longer async and works.
> 
> I'd like to know if the way the async test is written is supposed to work or not because
I cloned the pattern from another test. It seems that stopping the lifecyle does not close
the log file.
> 
> I do not want to redo the async test the way the sync test works just to get the tests
to pass now, because there could be a bug in there...
> 
> Please advise.
> 
> Thank you,
> Gary
> 
> 
> On Wed, Jul 17, 2013 at 6:07 PM, Gary Gregory <garydgregory@gmail.com> wrote:
> Hi All:
> 
> I've hit a snag testing XML validation.
> 
> Please see org.apache.logging.log4j.core.appender.XmlCompactFileAppenderValidationTest
> 
> Is this a quirk of testing because the log file is not closed?
> 
> Thank you,
> Gary
> 
> -- 
> E-Mail: garydgregory@gmail.com | ggregory@apache.org 
> Java Persistence with Hibernate, Second Edition
> JUnit in Action, Second Edition
> Spring Batch in Action
> Blog: http://garygregory.wordpress.com 
> Home: http://garygregory.com/
> Tweet! http://twitter.com/GaryGregory
> 
> 
> 
> -- 
> E-Mail: garydgregory@gmail.com | ggregory@apache.org 
> Java Persistence with Hibernate, Second Edition
> JUnit in Action, Second Edition
> Spring Batch in Action
> Blog: http://garygregory.wordpress.com 
> Home: http://garygregory.com/
> Tweet! http://twitter.com/GaryGregory


Mime
View raw message