* sometimes failed: "WriteAggregator with delta must timeout when less than required acks" * the DeltaNack will trigger immedediate send of Write * seems to be a race condition of when the probe is receiving the Write from the DeltaNack vs the last expected DeltaPropagation
This commit is contained in:
parent
2ef50cb054
commit
bb99bdb02f
1 changed files with 4 additions and 1 deletions
|
|
@ -354,9 +354,12 @@ class WriteAggregatorSpec extends AkkaSpec(s"""
|
||||||
probe.expectMsgType[DeltaPropagation]
|
probe.expectMsgType[DeltaPropagation]
|
||||||
probe.lastSender ! WriteAck
|
probe.lastSender ! WriteAck
|
||||||
probe.expectMsgType[DeltaPropagation]
|
probe.expectMsgType[DeltaPropagation]
|
||||||
|
// no reply
|
||||||
|
probe.expectMsgType[DeltaPropagation]
|
||||||
// nack
|
// nack
|
||||||
probe.lastSender ! DeltaNack
|
probe.lastSender ! DeltaNack
|
||||||
probe.expectMsgType[DeltaPropagation]
|
// the nack will triggger an immediate Write
|
||||||
|
probe.expectMsgType[Write]
|
||||||
// no reply
|
// no reply
|
||||||
|
|
||||||
// only 1 ack so we expect 3 full state Write
|
// only 1 ack so we expect 3 full state Write
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue