You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@commons.apache.org by gg...@apache.org on 2023/03/11 14:33:41 UTC
[commons-pool] branch master updated: Allow slower builds on busy setups
This is an automated email from the ASF dual-hosted git repository.
ggregory pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/commons-pool.git
The following commit(s) were added to refs/heads/master by this push:
new 02996b87 Allow slower builds on busy setups
02996b87 is described below
commit 02996b877416222898778b48c4c891a6843677b4
Author: Gary Gregory <ga...@gmail.com>
AuthorDate: Sat Mar 11 09:33:36 2023 -0500
Allow slower builds on busy setups
Bump test timeout from 2 to 10 seconds in
TestBaseGenericObjectPool.testJMXRegistrationLatency()
---
.../java/org/apache/commons/pool2/impl/TestBaseGenericObjectPool.java | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/src/test/java/org/apache/commons/pool2/impl/TestBaseGenericObjectPool.java b/src/test/java/org/apache/commons/pool2/impl/TestBaseGenericObjectPool.java
index afd78418..7e1a0938 100644
--- a/src/test/java/org/apache/commons/pool2/impl/TestBaseGenericObjectPool.java
+++ b/src/test/java/org/apache/commons/pool2/impl/TestBaseGenericObjectPool.java
@@ -123,7 +123,7 @@ public class TestBaseGenericObjectPool {
*/
@SuppressWarnings("resource") // pools closed in finally block
@Test
- @Timeout(value = 2000, unit = TimeUnit.MILLISECONDS)
+ @Timeout(value = 10_000, unit = TimeUnit.MILLISECONDS)
public void testJMXRegistrationLatency() {
final int numPools = 1000;
final MBeanServer mbs = ManagementFactory.getPlatformMBeanServer();