Increase test timeout for verifyMsgProcessed
This commit is contained in:
parent
c554246218
commit
55020b0713
@ -640,7 +640,7 @@ public class TbRuleEngineQueueConsumerManagerTest {
|
|||||||
}
|
}
|
||||||
|
|
||||||
private void verifyMsgProcessed(TbMsg tbMsg) {
|
private void verifyMsgProcessed(TbMsg tbMsg) {
|
||||||
await().atMost(2, TimeUnit.SECONDS).untilAsserted(() -> {
|
await().atMost(15, TimeUnit.SECONDS).untilAsserted(() -> {
|
||||||
verify(actorContext, atLeastOnce()).tell(argThat(msg -> {
|
verify(actorContext, atLeastOnce()).tell(argThat(msg -> {
|
||||||
return ((QueueToRuleEngineMsg) msg).getMsg().getId().equals(tbMsg.getId());
|
return ((QueueToRuleEngineMsg) msg).getMsg().getId().equals(tbMsg.getId());
|
||||||
}));
|
}));
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user