Updated DistributedData Delete API to include optional request context.
#20140
This commit is contained in:
parent
4a9c753710
commit
65cba329d0
6 changed files with 95 additions and 41 deletions
|
|
@ -82,7 +82,7 @@ class ReplicatorChaosSpec extends MultiNodeSpec(ReplicatorChaosSpec) with STMult
|
|||
within(5.seconds) {
|
||||
awaitAssert {
|
||||
replicator ! Get(key, ReadLocal)
|
||||
expectMsg(DataDeleted(key))
|
||||
expectMsg(DataDeleted(key, None))
|
||||
}
|
||||
}
|
||||
|
||||
|
|
@ -141,7 +141,7 @@ class ReplicatorChaosSpec extends MultiNodeSpec(ReplicatorChaosSpec) with STMult
|
|||
replicator ! Update(KeyX, GCounter(), WriteTo(2, timeout))(_ + 50)
|
||||
expectMsg(UpdateSuccess(KeyX, None))
|
||||
replicator ! Delete(KeyX, WriteLocal)
|
||||
expectMsg(DeleteSuccess(KeyX))
|
||||
expectMsg(DeleteSuccess(KeyX, None))
|
||||
}
|
||||
|
||||
enterBarrier("initial-updates-done")
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue