]> git-server-git.apps.pok.os.sepia.ceph.com Git - ceph.git/commit
test/rbd_mirror: "use of uninitialised value" valgrind warning 19437/head
authorMykola Golub <to.my.trociny@gmail.com>
Mon, 11 Dec 2017 20:56:40 +0000 (22:56 +0200)
committerMykola Golub <to.my.trociny@gmail.com>
Mon, 11 Dec 2017 20:56:40 +0000 (22:56 +0200)
commit3ea5799cde2521e410a9c210b63816ca3a064ccd
tree4206f05e832d4e5e9eab6865ee9960d48bc0d58a
parentda7d071654ef77bd53ff9013e7c38cfdf4555d28
test/rbd_mirror: "use of uninitialised value" valgrind warning

The `on_call` context serves as a barrier and should be completed
after the `on_start_ctx` context is assigned.

The warning was observed sporadically e.g. by repeating
WaitingOnNonLeaderAcquireLeader test under valgrind.

Signed-off-by: Mykola Golub <to.my.trociny@gmail.com>
src/test/rbd_mirror/test_mock_InstanceWatcher.cc