[tomcat] branch 8.5.x updated: Fix failing test

Previous Topic Next Topic
 
classic Classic list List threaded Threaded
1 message Options
Reply | Threaded
Open this post in threaded view
|

[tomcat] branch 8.5.x updated: Fix failing test

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

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


The following commit(s) were added to refs/heads/8.5.x by this push:
     new 4183aba  Fix failing test
4183aba is described below

commit 4183aba52d95d3303c4724adb26444cb322897d8
Author: Mark Thomas <[hidden email]>
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 91b9034..f5c5e03 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: [hidden email]
For additional commands, e-mail: [hidden email]