From fb5f6a3f826f1349bd290bfc97235fdbf7a9d439 Mon Sep 17 00:00:00 2001 From: Clebert Suconic Date: Fri, 9 Jul 2021 16:06:26 -0400 Subject: [PATCH] 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 62c8c2da56..50596e6a85 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); } }