This is an automated email from the ASF dual-hosted git repository.

remm pushed a commit to branch 9.0.x
in repository https://gitbox.apache.org/repos/asf/tomcat.git


The following commit(s) were added to refs/heads/9.0.x by this push:
     new d6818de  Fix test which would also match NIO2
d6818de is described below

commit d6818de1a70fce80a63af6dfa5227d5621833768
Author: remm <r...@apache.org>
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 9b9476f..f54723b 100644
--- a/test/org/apache/tomcat/util/net/TestXxxEndpoint.java
+++ b/test/org/apache/tomcat/util/net/TestXxxEndpoint.java
@@ -206,7 +206,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: dev-unsubscr...@tomcat.apache.org
For additional commands, e-mail: dev-h...@tomcat.apache.org

Reply via email to