NO-JIRA I got tired of the ThreadDump after Wait failures. I am removing it.

This commit is contained in:
Clebert Suconic 2021-07-09 16:06:26 -04:00
parent b4d4ea3ec7
commit fb5f6a3f82
1 changed files with 0 additions and 3 deletions

View File

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