NO-JIRA I got tired of the ThreadDump after Wait failures. I am removing it.
This commit is contained in:
parent
b4d4ea3ec7
commit
fb5f6a3f82
|
@ -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);
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue