This is an automated email from the ASF dual-hosted git repository.
remm 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 b02e7fd Fix test which would also match NIO2
b02e7fd is described below
commit b02e7fddf65440699cb66211a584cfe63fce8e3f
Author: remm <[email protected]>
AuthorDate: Mon Feb 8 11:24:59 2021 +0100
Fix test which would also match NIO2
---
test/org/apache/tomcat/util/net/TestXxxEndpoint.java | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/test/org/apache/tomcat/util/net/TestXxxEndpoint.java
b/test/org/apache/tomcat/util/net/TestXxxEndpoint.java
index bc9b1f3..d77132f 100644
--- a/test/org/apache/tomcat/util/net/TestXxxEndpoint.java
+++ b/test/org/apache/tomcat/util/net/TestXxxEndpoint.java
@@ -217,7 +217,7 @@ public class TestXxxEndpoint extends TomcatBaseTest {
Tomcat tomcat = getTomcatInstance();
Connector c = tomcat.getConnector();
Assume.assumeTrue("NIO Unix domain sockets have to be supported for
this test",
- c.getProtocolHandlerClassName().contains("Nio")
+ c.getProtocolHandlerClassName().contains("NioProtocol")
&& JreCompat.isJre16Available());
final String unixDomainSocketPath = "/tmp/testUnixDomainSocket";
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]