tomcat-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Mark Thomas <ma...@apache.org>
Subject Re: [GUMP@vmgump]: Project tomcat-trunk-test (in module tomcat-trunk) failed
Date Tue, 21 Feb 2012 20:39:00 GMT
On 21/02/2012 14:49, Konstantin Kolinko wrote:
> Note that Buildbot fails as well.
> 
> The error is in TestWebSocket,
> [[[
> Testcase: testSimple took 3.875 sec
> 	FAILED
> null
> junit.framework.AssertionFailedError
> 	at org.apache.catalina.websocket.TestWebSocket.readMessage(TestWebSocket.java:149)
> 	at org.apache.catalina.websocket.TestWebSocket.testSimple(TestWebSocket.java:95)
> ]]]
> 
> The code at readMessage() is:
> 
> 147 	// Get payload length
> 148 	int len = is.read() & 0x7F;
> 149 	assertTrue(len < 126);
> 
> From debugging the len value on line 148 is 126.
> 
> In writeMessage() method the len value was 3.
> 
> Best regards,
> Konstantin Kolinko

Thanks. When I went through the code moving the calls to Buffer.flip(),
I missed a few code paths. I'm going through now double checking my logic.

Mark

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


Mime
View raw message