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
commit 2230d75d0f71b9011b4c5cbca4250a45ee79da53 Author: Gary Gregory <garydgreg...@gmail.com> AuthorDate: Fri Jul 14 15:38:27 2023 -0400 No need for test to catch and rethrow --- .../java/org/apache/commons/pool2/impl/TestGenericObjectPool.java | 6 +----- 1 file changed, 1 insertion(+), 5 deletions(-) diff --git a/src/test/java/org/apache/commons/pool2/impl/TestGenericObjectPool.java b/src/test/java/org/apache/commons/pool2/impl/TestGenericObjectPool.java index eb6582f1..08db55d8 100644 --- a/src/test/java/org/apache/commons/pool2/impl/TestGenericObjectPool.java +++ b/src/test/java/org/apache/commons/pool2/impl/TestGenericObjectPool.java @@ -1054,11 +1054,7 @@ public class TestGenericObjectPool extends TestBaseObjectPool { final Thread t = new Thread(threads[i]); t.start(); // Short delay to ensure threads start in correct order - try { - Thread.sleep(10); - } catch (final InterruptedException e) { - fail(e.toString()); - } + Thread.sleep(10); } // Return objects, other threads should get served in order