This is an automated email from the ASF dual-hosted git repository.
remm pushed a commit to branch 9.0.x
in repository https://gitbox.apache.org/repos/asf/tomcat.git
The following commit(s) were added to refs/heads/9.0.x by this push:
new 96cdabb9be Add some details
96cdabb9be is described below
commit 96cdabb9be11748f7107253f3eb85b7ff58f0380
Author: remm <[email protected]>
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: [email protected]
For additional commands, e-mail: [email protected]