You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@commons.apache.org by se...@apache.org on 2023/02/05 14:48:07 UTC

[commons-jcs] branch master updated: Wait a bit longer to resolve test failure:

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

sebb pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/commons-jcs.git


The following commit(s) were added to refs/heads/master by this push:
     new e4b3157e Wait a bit longer to resolve test failure:
e4b3157e is described below

commit e4b3157e23df8c963c217affc10f4bfd3dd47cc5
Author: Sebb <se...@apache.org>
AuthorDate: Sun Feb 5 14:48:01 2023 +0000

    Wait a bit longer to resolve test failure:
    
    "Should have received 10 by now. expected:<10> but was:<7>"
---
 .../jcs3/auxiliary/lateral/socket/tcp/TestTCPLateralUnitTest.java       | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/commons-jcs-core/src/test/java/org/apache/commons/jcs3/auxiliary/lateral/socket/tcp/TestTCPLateralUnitTest.java b/commons-jcs-core/src/test/java/org/apache/commons/jcs3/auxiliary/lateral/socket/tcp/TestTCPLateralUnitTest.java
index b4450c63..dcb92480 100644
--- a/commons-jcs-core/src/test/java/org/apache/commons/jcs3/auxiliary/lateral/socket/tcp/TestTCPLateralUnitTest.java
+++ b/commons-jcs-core/src/test/java/org/apache/commons/jcs3/auxiliary/lateral/socket/tcp/TestTCPLateralUnitTest.java
@@ -142,7 +142,7 @@ public class TestTCPLateralUnitTest
             lur.send( led );
         }
 
-        SleepUtil.sleepAtLeast( numMes * 3 );
+        SleepUtil.sleepAtLeast( numMes * 4 ); // this may need to be adjusted ...
 
         // VERIFY
         assertEquals( "Should have received " + numMes + " by now.", numMes, listener.getPutCnt() );