Merge pull request #17942 from ktoso/wip-harden-alod-spec
=per #17820 avoid depending on ordering of redelivery (when slow)
This commit is contained in:
commit
36be7ae37b
1 changed files with 3 additions and 2 deletions
|
|
@ -253,8 +253,9 @@ abstract class AtLeastOnceDeliverySpec(config: Config) extends PersistenceSpec(c
|
|||
// and then re-delivered
|
||||
probeA.expectMsg(Action(2, "a-2")) // re-delivered
|
||||
// a-4 was re-delivered but lost
|
||||
probeA.expectMsg(Action(5, "a-5")) // re-delivered
|
||||
probeA.expectMsg(Action(4, "a-4")) // re-delivered, 3rd time
|
||||
probeA.expectMsgAllOf(
|
||||
Action(5, "a-5"), // re-delivered
|
||||
Action(4, "a-4")) // re-delivered, 3rd time
|
||||
|
||||
probeA.expectNoMsg(1.second)
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue