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 2020/07/08 14:58:41 UTC

[tomcat] branch master updated: Fix failing test

This is an automated email from the ASF dual-hosted git repository.

markt pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/tomcat.git


The following commit(s) were added to refs/heads/master by this push:
     new 4b5edd3  Fix failing test
4b5edd3 is described below

commit 4b5edd377e4098fd3f6cc82e87c7b9874f460c07
Author: Mark Thomas <ma...@apache.org>
AuthorDate: Wed Jul 8 15:56:06 2020 +0100

    Fix failing test
---
 test/org/apache/tomcat/websocket/pojo/TestEncodingDecoding.java | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/test/org/apache/tomcat/websocket/pojo/TestEncodingDecoding.java b/test/org/apache/tomcat/websocket/pojo/TestEncodingDecoding.java
index ab1d7b1..4b8fb58 100644
--- a/test/org/apache/tomcat/websocket/pojo/TestEncodingDecoding.java
+++ b/test/org/apache/tomcat/websocket/pojo/TestEncodingDecoding.java
@@ -254,7 +254,7 @@ public class TestEncodingDecoding extends TomcatBaseTest {
         // Should not take very long
         int i = 0;
         while (i < WAIT_LOOPS) {
-            if (server.received.size() > 0 && client.received.size() > 0) {
+            if (server.received.size() > 0 && client.received.size() > 1) {
                 break;
             }
             i++;


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