You are viewing a plain text version of this content. The canonical link for it is here.
Posted to server-dev@james.apache.org by ma...@apache.org on 2019/01/28 14:53:26 UTC

[11/12] james-project git commit: JAMES-2630 Improve ConcurrentTestRunner reporting

JAMES-2630 Improve ConcurrentTestRunner reporting


Project: http://git-wip-us.apache.org/repos/asf/james-project/repo
Commit: http://git-wip-us.apache.org/repos/asf/james-project/commit/64d33771
Tree: http://git-wip-us.apache.org/repos/asf/james-project/tree/64d33771
Diff: http://git-wip-us.apache.org/repos/asf/james-project/diff/64d33771

Branch: refs/heads/master
Commit: 64d337713f91afd7d5a9b257afb8532adaa17b42
Parents: e4a737e
Author: Matthieu Baechler <ma...@apache.org>
Authored: Fri Jan 18 11:47:31 2019 +0100
Committer: Matthieu Baechler <ma...@apache.org>
Committed: Mon Jan 28 15:50:37 2019 +0100

----------------------------------------------------------------------
 .../org/apache/james/util/concurrency/ConcurrentTestRunner.java    | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/james-project/blob/64d33771/server/container/util/src/main/java/org/apache/james/util/concurrency/ConcurrentTestRunner.java
----------------------------------------------------------------------
diff --git a/server/container/util/src/main/java/org/apache/james/util/concurrency/ConcurrentTestRunner.java b/server/container/util/src/main/java/org/apache/james/util/concurrency/ConcurrentTestRunner.java
index eec20c0..080198d 100644
--- a/server/container/util/src/main/java/org/apache/james/util/concurrency/ConcurrentTestRunner.java
+++ b/server/container/util/src/main/java/org/apache/james/util/concurrency/ConcurrentTestRunner.java
@@ -111,7 +111,7 @@ public class ConcurrentTestRunner {
                 try {
                     concurrentOperation.execute(threadNumber, i);
                 } catch (Exception e) {
-                    LOGGER.error("Error caught during concurrent testing", e);
+                    LOGGER.error("Error caught during concurrent testing (iteration {}, threadNumber {})", i, threadNumber, e);
                     exception = e;
                 }
             }


---------------------------------------------------------------------
To unsubscribe, e-mail: server-dev-unsubscribe@james.apache.org
For additional commands, e-mail: server-dev-help@james.apache.org