I checked in a bunch of changes. Hopefully it isn't more broken than
before. The tests for FileWatchdog are just too intricate. The config file
could be getting read by watchdog, so can't be deleted as required in the
tests, so I had to add some code to loop on deleting. Then it seems that it
can take some time for the appender buffer to flush to the file, etc. Most
of this intricacy is because of the nature of the test. In real world usage
I don't think it would be this complex.
We'll see if Gump complains tonight.
-Mark
---------------------------------------------------------------------
To unsubscribe, e-mail: log4j-dev-unsubscribe@logging.apache.org
For additional commands, e-mail: log4j-dev-help@logging.apache.org
|