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); } }