This is an automated email from the ASF dual-hosted git repository. remm pushed a commit to branch main in repository https://gitbox.apache.org/repos/asf/tomcat.git
The following commit(s) were added to refs/heads/main by this push: new d17f24ca54 Add some details d17f24ca54 is described below commit d17f24ca548a68c3a7dd7e725d602599398afa2c Author: remm <r...@apache.org> AuthorDate: Tue Sep 24 12:55:39 2024 +0200 Add some details --- test/org/apache/catalina/startup/LoggingBaseTest.java | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/test/org/apache/catalina/startup/LoggingBaseTest.java b/test/org/apache/catalina/startup/LoggingBaseTest.java index bf0ea4038a..893148b7bf 100644 --- a/test/org/apache/catalina/startup/LoggingBaseTest.java +++ b/test/org/apache/catalina/startup/LoggingBaseTest.java @@ -135,7 +135,11 @@ public abstract class LoggingBaseTest { public void tearDown() throws Exception { boolean deleted = true; for (File file : deleteOnTearDown) { - deleted = deleted & ExpandWar.delete(file); + boolean result = ExpandWar.delete(file); + if (!result) { + log.info("Failed to delete [" + file.getAbsolutePath() + "]"); + } + deleted = deleted & result; } deleteOnTearDown.clear(); --------------------------------------------------------------------- To unsubscribe, e-mail: dev-unsubscr...@tomcat.apache.org For additional commands, e-mail: dev-h...@tomcat.apache.org