This is an automated email from the ASF dual-hosted git repository.
asf-gitbox-commits 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 ecc6241d Relax test timing for windows build
ecc6241d is described below
commit ecc6241d5f9f8c75047744dcdfc9b7bef51dc901
Author: Thomas Vandahl <[email protected]>
AuthorDate: Fri Sep 4 14:51:22 2026 +0200
Relax test timing for windows build
---
.../jcs4/auxiliary/lateral/socket/tcp/TestTCPLateralUnitTest.java | 2 +-
.../jcs4/engine/control/event/SimpleEventHandlingUnitTest.java | 4 ++--
2 files changed, 3 insertions(+), 3 deletions(-)
diff --git
a/commons-jcs4-core/src/test/java/org/apache/commons/jcs4/auxiliary/lateral/socket/tcp/TestTCPLateralUnitTest.java
b/commons-jcs4-core/src/test/java/org/apache/commons/jcs4/auxiliary/lateral/socket/tcp/TestTCPLateralUnitTest.java
index 6f743625..e658ae69 100644
---
a/commons-jcs4-core/src/test/java/org/apache/commons/jcs4/auxiliary/lateral/socket/tcp/TestTCPLateralUnitTest.java
+++
b/commons-jcs4-core/src/test/java/org/apache/commons/jcs4/auxiliary/lateral/socket/tcp/TestTCPLateralUnitTest.java
@@ -119,7 +119,7 @@ class TestTCPLateralUnitTest
lur.send( led );
}
- SleepUtil.sleepAtLeast( numMes * 4 ); // this may need to be adjusted
...
+ SleepUtil.sleepAtLeast( numMes * 10 ); // this may need to be adjusted
...
// VERIFY
assertEquals( numMes, listener.getPutCnt(), "Should have received " +
numMes + " by now." );
diff --git
a/commons-jcs4-core/src/test/java/org/apache/commons/jcs4/engine/control/event/SimpleEventHandlingUnitTest.java
b/commons-jcs4-core/src/test/java/org/apache/commons/jcs4/engine/control/event/SimpleEventHandlingUnitTest.java
index 414a357d..fe5ff225 100644
---
a/commons-jcs4-core/src/test/java/org/apache/commons/jcs4/engine/control/event/SimpleEventHandlingUnitTest.java
+++
b/commons-jcs4-core/src/test/java/org/apache/commons/jcs4/engine/control/event/SimpleEventHandlingUnitTest.java
@@ -345,7 +345,7 @@ class SimpleEventHandlingUnitTest
}
// wait a bit for it to finish
- Thread.sleep( items / 20 );
+ Thread.sleep( items / 10 );
// test to see if the count is right
assertTrue( meh.getSpoolNotAllowedCount() >= items,
@@ -377,7 +377,7 @@ class SimpleEventHandlingUnitTest
}
// wait a bit for it to finish
- Thread.sleep( items / 20 );
+ Thread.sleep( items / 10 );
// test to see if the count is right
assertTrue( meh.getSpoolNotAllowedCount() >= items,