You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@tomcat.apache.org by ma...@apache.org on 2015/11/03 14:01:38 UTC

svn commit: r1712285 - /tomcat/tc7.0.x/trunk/test/org/apache/tomcat/websocket/TestWebSocketFrameClientSSL.java

Author: markt
Date: Tue Nov  3 13:01:37 2015
New Revision: 1712285

URL: http://svn.apache.org/viewvc?rev=1712285&view=rev
Log:
Fix incorrect skipping of test identified by kkolinko during Tomcat Native 1.2.1 testing

Modified:
    tomcat/tc7.0.x/trunk/test/org/apache/tomcat/websocket/TestWebSocketFrameClientSSL.java

Modified: tomcat/tc7.0.x/trunk/test/org/apache/tomcat/websocket/TestWebSocketFrameClientSSL.java
URL: http://svn.apache.org/viewvc/tomcat/tc7.0.x/trunk/test/org/apache/tomcat/websocket/TestWebSocketFrameClientSSL.java?rev=1712285&r1=1712284&r2=1712285&view=diff
==============================================================================
--- tomcat/tc7.0.x/trunk/test/org/apache/tomcat/websocket/TestWebSocketFrameClientSSL.java (original)
+++ tomcat/tc7.0.x/trunk/test/org/apache/tomcat/websocket/TestWebSocketFrameClientSSL.java Tue Nov  3 13:01:37 2015
@@ -103,7 +103,8 @@ public class TestWebSocketFrameClientSSL
         //      connector.
         Assume.assumeFalse(
                 "Skip this test on BIO. TODO: investigate options to make it pass with HTTP BIO connector",
-                getTomcatInstance().getConnector().getProtocol().equals("HTTP/1.1"));
+                getTomcatInstance().getConnector().getProtocolHandlerClassName().equals(
+                        "org.apache.coyote.http11.Http11Protocol"));
 
         Tomcat tomcat = getTomcatInstance();
         // No file system docBase required



---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@tomcat.apache.org
For additional commands, e-mail: dev-help@tomcat.apache.org