Skip to content

Commit 3f93386

Browse files
author
raju.gupta
committed
POOL-425 Add failing tests to reproduce POOL-426
1 parent 470ab2d commit 3f93386

File tree

1 file changed

+0
-2
lines changed

1 file changed

+0
-2
lines changed

src/test/java/org/apache/commons/pool2/impl/TestGenericObjectPool.java

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1026,8 +1026,6 @@ void testAddObjectConcurrentCallsRespectsMaxIdle() throws Exception {
10261026
executorService.shutdownNow(); // Ensure cleanup
10271027
}
10281028

1029-
assertTrue(executorService.awaitTermination(Long.MAX_VALUE, TimeUnit.NANOSECONDS));
1030-
10311029
assertTrue(pool.getNumIdle() <= maxIdleLimit,
10321030
"Concurrent addObject() calls should not exceed maxIdle limit of " + maxIdleLimit +
10331031
", but found " + pool.getNumIdle() + " idle objects");

0 commit comments

Comments
 (0)