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 a5968ddac9 Ignore Java 24 client IOE occurring on file delete with sendfile a5968ddac9 is described below commit a5968ddac9f51f2f0c233fa1c508930b404a68f7 Author: remm <r...@apache.org> AuthorDate: Mon Oct 14 15:34:30 2024 +0200 Ignore Java 24 client IOE occurring on file delete with sendfile --- test/org/apache/catalina/connector/TestSendFile.java | 9 +++++++-- 1 file changed, 7 insertions(+), 2 deletions(-) diff --git a/test/org/apache/catalina/connector/TestSendFile.java b/test/org/apache/catalina/connector/TestSendFile.java index ead45b43da..098ff0aa53 100644 --- a/test/org/apache/catalina/connector/TestSendFile.java +++ b/test/org/apache/catalina/connector/TestSendFile.java @@ -163,8 +163,13 @@ public class TestSendFile extends TomcatBaseTest { tomcat.start(); ByteChunk bc = new ByteChunk(); - getUrl("http://localhost:" + getPort() + "/test/?" + Globals.SENDFILE_SUPPORTED_ATTR - + "=true", bc, null); + try { + getUrl("http://localhost:" + getPort() + "/test/?" + Globals.SENDFILE_SUPPORTED_ATTR + + "=true", bc, null); + } catch (IOException e) { + // Ignore possible IOE due to file delete on the server + System.out.println("Ignored: " + e.getMessage()); + } CountDownLatch latch = new CountDownLatch(2); List<Throwable> throwables = new CopyOnWriteArrayList<>(); --------------------------------------------------------------------- To unsubscribe, e-mail: dev-unsubscr...@tomcat.apache.org For additional commands, e-mail: dev-h...@tomcat.apache.org