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 2019/04/30 13:31:30 UTC
[commons-pool] branch release updated: Be quiet.
This is an automated email from the ASF dual-hosted git repository.
ggregory pushed a commit to branch release
in repository https://gitbox.apache.org/repos/asf/commons-pool.git
The following commit(s) were added to refs/heads/release by this push:
new d062005 Be quiet.
d062005 is described below
commit d0620051123edb8ac2dc027d546f1ce68db90a41
Author: Gary Gregory <ga...@gmail.com>
AuthorDate: Tue Apr 30 09:30:45 2019 -0400
Be quiet.
---
.../pool2/impl/TestGenericObjectPoolFactoryCreateFailure.java | 6 +++---
1 file changed, 3 insertions(+), 3 deletions(-)
diff --git a/src/test/java/org/apache/commons/pool2/impl/TestGenericObjectPoolFactoryCreateFailure.java b/src/test/java/org/apache/commons/pool2/impl/TestGenericObjectPoolFactoryCreateFailure.java
index e0cb512..c4d4d6a 100644
--- a/src/test/java/org/apache/commons/pool2/impl/TestGenericObjectPoolFactoryCreateFailure.java
+++ b/src/test/java/org/apache/commons/pool2/impl/TestGenericObjectPoolFactoryCreateFailure.java
@@ -64,12 +64,12 @@ public class TestGenericObjectPoolFactoryCreateFailure {
@Override
public void run() {
try {
- System.out.println("start borrowing in parallel thread");
+ println("start borrowing in parallel thread");
final Object obj = pool.borrowObject();
// wait for another thread to start borrowObject
if (!barrier.await(5, TimeUnit.SECONDS)) {
- System.out.println("Timeout waiting");
+ println("Timeout waiting");
failed.set(true);
} else {
// just to make sure, borrowObject has started waiting on queue
@@ -86,7 +86,7 @@ public class TestGenericObjectPoolFactoryCreateFailure {
}
private static void println(final String msg) {
- System.out.println(msg);
+ // System.out.println(msg);
}
private static void sleepIgnoreException(final long millis) {