You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@activemq.apache.org by cl...@apache.org on 2021/07/13 12:29:54 UTC

[activemq-artemis] 01/02: NO-JIRA I got tired of the ThreadDump after Wait failures. I am removing it.

This is an automated email from the ASF dual-hosted git repository.

clebertsuconic pushed a commit to branch main
in repository https://gitbox.apache.org/repos/asf/activemq-artemis.git

commit fb5f6a3f826f1349bd290bfc97235fdbf7a9d439
Author: Clebert Suconic <cl...@apache.org>
AuthorDate: Fri Jul 9 16:06:26 2021 -0400

    NO-JIRA I got tired of the ThreadDump after Wait failures. I am removing it.
---
 .../src/test/java/org/apache/activemq/artemis/utils/Wait.java          | 3 ---
 1 file changed, 3 deletions(-)

diff --git a/artemis-commons/src/test/java/org/apache/activemq/artemis/utils/Wait.java b/artemis-commons/src/test/java/org/apache/activemq/artemis/utils/Wait.java
index 62c8c2d..50596e6 100644
--- a/artemis-commons/src/test/java/org/apache/activemq/artemis/utils/Wait.java
+++ b/artemis-commons/src/test/java/org/apache/activemq/artemis/utils/Wait.java
@@ -94,7 +94,6 @@ public class Wait {
       boolean result = waitFor(() -> (obj == condition || obj.equals(condition.getObject())), timeout, sleepMillis);
 
       if (!result) {
-         System.out.println(ThreadDumpUtil.threadDump("thread dump"));
          Assert.assertEquals(obj, condition.getObject());
       }
    }
@@ -103,7 +102,6 @@ public class Wait {
       boolean result = waitFor(() -> condition.getCount() == size, timeout, sleepMillis);
 
       if (!result) {
-         System.out.println(ThreadDumpUtil.threadDump("thread dump"));
          Assert.fail(size + " != " + condition.getCount());
       }
    }
@@ -150,7 +148,6 @@ public class Wait {
       boolean result = waitFor(condition, duration, sleep);
 
       if (!result) {
-         System.out.println(ThreadDumpUtil.threadDump("thread dump"));
          Assert.fail(failureMessage);
       }
    }