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: [email protected]
For additional commands, e-mail: [email protected]