This is an automated email from the ASF dual-hosted git repository.
markt pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/tomcat.git
The following commit(s) were added to refs/heads/master by this push:
new 6e3a234 Add logging to help debug GitHub CI failures
6e3a234 is described below
commit 6e3a2340a23e4a87c7bd0e0290adda5dc18f3f56
Author: Mark Thomas <[email protected]>
AuthorDate: Tue Feb 23 16:38:34 2021 +0000
Add logging to help debug GitHub CI failures
---
test/org/apache/catalina/connector/TestSendFile.java | 4 +++-
1 file changed, 3 insertions(+), 1 deletion(-)
diff --git a/test/org/apache/catalina/connector/TestSendFile.java
b/test/org/apache/catalina/connector/TestSendFile.java
index dc8ce08..abfffac 100644
--- a/test/org/apache/catalina/connector/TestSendFile.java
+++ b/test/org/apache/catalina/connector/TestSendFile.java
@@ -88,7 +88,9 @@ public class TestSendFile extends TomcatBaseTest {
}
} finally {
for (File f : files) {
- Assert.assertTrue("Failed to clean up [" + f + "]",
f.delete());
+ boolean deleteResult = f.delete();
+ System.out.println("Deleting [" + f.getAbsolutePath() + "]
returned [" + deleteResult + "]");
+ Assert.assertTrue("Failed to clean up [" + f + "]",
deleteResult);
}
}
}
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]