You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@tomcat.apache.org by re...@apache.org on 2024/09/24 10:56:01 UTC
(tomcat) branch main updated: Add some details
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 <re...@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-unsubscribe@tomcat.apache.org
For additional commands, e-mail: dev-help@tomcat.apache.org