mirror of https://github.com/apache/activemq.git
[NO JIRA] harden test occasional failure
This commit is contained in:
parent
52480a4af8
commit
22f8f88ddb
|
@ -63,7 +63,7 @@ public class ListenerTest {
|
||||||
|
|
||||||
Wait.waitFor(new Wait.Condition() {
|
Wait.waitFor(new Wait.Condition() {
|
||||||
public boolean isSatisified() throws Exception {
|
public boolean isSatisified() throws Exception {
|
||||||
return (6 * msgNum) <= listener.messages.size();
|
return (6 * msgNum) == listener.messages.size();
|
||||||
}
|
}
|
||||||
});
|
});
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue