This is an automated email from the ASF dual-hosted git repository.

remm pushed a commit to branch 11.0.x
in repository https://gitbox.apache.org/repos/asf/tomcat.git


The following commit(s) were added to refs/heads/11.0.x by this push:
     new 08d2e57159 Add some details
08d2e57159 is described below

commit 08d2e57159ff58ba1ededee06b08d343dcb9b622
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

Reply via email to