virajjasani commented on PR #5451: URL: https://github.com/apache/hadoop/pull/5451#issuecomment-1455029246
> And one more to try if I delete the file while using appender, will the test using appender fail? The test using it's own appender (i.e. new LogCapturer instance) would not fail. Just to quickly repro this, I deleted file in the middle of running tests in TestAuditLogs and made sure that some tests in TestAuditLogs do fail because of this and at the same time ran TestFsck simultaneously and the tests that rely on reading audit logs did pass without any issues. I verified the log lines too to ensure the tests in TestFsck had sufficient audit logs captured at regular intervals, after TestAuditLogs deleted the file. Thanks for the above ideas -- This is an automated message from the Apache Git Service. To respond to the message, please log on to GitHub and use the URL above to go to the specific comment. To unsubscribe, e-mail: [email protected] For queries about this service, please contact Infrastructure at: [email protected] --------------------------------------------------------------------- To unsubscribe, e-mail: [email protected] For additional commands, e-mail: [email protected]
