]> git.apps.os.sepia.ceph.com Git - ceph-ci.git/commit
rbd-mirror: ensure deterministic ordering of method calls
authorJason Dillaman <dillaman@redhat.com>
Mon, 16 Dec 2019 14:46:15 +0000 (09:46 -0500)
committerJason Dillaman <dillaman@redhat.com>
Mon, 16 Dec 2019 14:46:15 +0000 (09:46 -0500)
commit29772bf2c099ea6d6587f8ebf8635afd809cae09
treee384499aab2a7995d74f14b3ac412b3be094da66
parentc28876f0084d583de0550b105c2ae45222fd30e8
rbd-mirror: ensure deterministic ordering of method calls

The mock tests will require method calls in a known order. Previously
different environments could evaluate the parameters in different
orders resulting in out-of-order method calls.

Signed-off-by: Jason Dillaman <dillaman@redhat.com>
src/test/rbd_mirror/test_mock_ImageReplayer.cc
src/tools/rbd_mirror/ImageReplayer.cc