Re: svn commit: r1439959 - /tomcat/trunk/test/org/apache/tomcat/websocket/TestWsWebSocketContainer.java

2013-01-29 Thread Mark Thomas
On 29/01/2013 15:57, ma...@apache.org wrote:
> Author: markt
> Date: Tue Jan 29 15:57:43 2013
> New Revision: 1439959
> 
> URL: http://svn.apache.org/viewvc?rev=1439959&view=rev
> Log:
> Fix one cause of WebSocket unit test failures. There may be others.

And buildbot tells me there are. Back to the debugger for me...

Mark


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



svn commit: r1439959 - /tomcat/trunk/test/org/apache/tomcat/websocket/TestWsWebSocketContainer.java

2013-01-29 Thread markt
Author: markt
Date: Tue Jan 29 15:57:43 2013
New Revision: 1439959

URL: http://svn.apache.org/viewvc?rev=1439959&view=rev
Log:
Fix one cause of WebSocket unit test failures. There may be others.

Modified:
tomcat/trunk/test/org/apache/tomcat/websocket/TestWsWebSocketContainer.java

Modified: 
tomcat/trunk/test/org/apache/tomcat/websocket/TestWsWebSocketContainer.java
URL: 
http://svn.apache.org/viewvc/tomcat/trunk/test/org/apache/tomcat/websocket/TestWsWebSocketContainer.java?rev=1439959&r1=1439958&r2=1439959&view=diff
==
--- tomcat/trunk/test/org/apache/tomcat/websocket/TestWsWebSocketContainer.java 
(original)
+++ tomcat/trunk/test/org/apache/tomcat/websocket/TestWsWebSocketContainer.java 
Tue Jan 29 15:57:43 2013
@@ -181,6 +181,12 @@ public class TestWsWebSocketContainer ex
 
 WebSocketContainer wsContainer = 
ContainerProvider.getClientContainer();
 
+// Reset client buffer size as client container is retained between
+// tests
+
+wsContainer.setMaxBinaryMessageBufferSize(8192);
+wsContainer.setMaxTextMessageBufferSize(8192);
+
 if (isServerBuffer) {
 if (isTextBuffer) {
 ctx.addParameter(



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