Author: markt
Date: Fri Dec  4 15:13:17 2015
New Revision: 1717979

URL: http://svn.apache.org/viewvc?rev=1717979&view=rev
Log:
Fix a TODO (add explanatory comment as to why the test is correct)

Modified:
    tomcat/trunk/test/org/apache/tomcat/websocket/server/TestClose.java

Modified: tomcat/trunk/test/org/apache/tomcat/websocket/server/TestClose.java
URL: 
http://svn.apache.org/viewvc/tomcat/trunk/test/org/apache/tomcat/websocket/server/TestClose.java?rev=1717979&r1=1717978&r2=1717979&view=diff
==============================================================================
--- tomcat/trunk/test/org/apache/tomcat/websocket/server/TestClose.java 
(original)
+++ tomcat/trunk/test/org/apache/tomcat/websocket/server/TestClose.java Fri Dec 
 4 15:13:17 2015
@@ -159,7 +159,7 @@ public class TestClose extends TomcatBas
         client.sendCloseFrame(CloseCodes.GOING_AWAY);
         client.forceCloseSocket();
 
-        //TODO: Why CLOSED_ABNORMALLY when above is GOING_AWAY?
+        // WebSocket 1.1, section 2.1.5 requires this to be CLOSED_ABNORMALLY
         awaitOnClose(CloseCodes.CLOSED_ABNORMALLY);
     }
 



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

Reply via email to