This is an automated email from the ASF dual-hosted git repository. remm pushed a commit to branch 10.0.x in repository https://gitbox.apache.org/repos/asf/tomcat.git
The following commit(s) were added to refs/heads/10.0.x by this push: new 69dd781 Portable temp path code 69dd781 is described below commit 69dd78106ee53d7bc55922910991c6efb664c4ce Author: remm <r...@apache.org> AuthorDate: Wed Jun 30 17:45:20 2021 +0200 Portable temp path code --- test/org/apache/tomcat/util/net/TestXxxEndpoint.java | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/test/org/apache/tomcat/util/net/TestXxxEndpoint.java b/test/org/apache/tomcat/util/net/TestXxxEndpoint.java index 653e751..efc4dd1 100644 --- a/test/org/apache/tomcat/util/net/TestXxxEndpoint.java +++ b/test/org/apache/tomcat/util/net/TestXxxEndpoint.java @@ -213,7 +213,9 @@ public class TestXxxEndpoint extends TomcatBaseTest { c.getProtocolHandlerClassName().contains("NioProtocol") && JreCompat.isJre16Available()); - final String unixDomainSocketPath = "/tmp/testUnixDomainSocket"; + File tempPath = File.createTempFile("tomcat", ".uds"); + final String unixDomainSocketPath = tempPath.getAbsolutePath(); + tempPath.delete(); Assert.assertTrue(c.setProperty("unixDomainSocketPath", unixDomainSocketPath)); tomcat.start(); --------------------------------------------------------------------- To unsubscribe, e-mail: dev-unsubscr...@tomcat.apache.org For additional commands, e-mail: dev-h...@tomcat.apache.org