]> git-server-git.apps.pok.os.sepia.ceph.com Git - ceph.git/commit
tests: relax librbd ImageWatcher test case state machine
authorJason Dillaman <dillaman@redhat.com>
Thu, 5 Feb 2015 13:45:54 +0000 (08:45 -0500)
committerJason Dillaman <dillaman@redhat.com>
Thu, 5 Feb 2015 20:58:35 +0000 (15:58 -0500)
commitdebd7f3013f224607c8e74be466d62ae8e8fb0d2
treec991b2e54f81039ca0e19e25d695d59f66782717
parent6898f0b27f534aee94a87e4dbe128e5e92b7d828
tests: relax librbd ImageWatcher test case state machine

If librados repeats watch/notify messages, the test case state
machine will get confused about the unexpected (repeated) message.
Relaxed the test case watch/notify state machine to accept
repeated messages.

Fixes: #10785
Signed-off-by: Jason Dillaman <dillaman@redhat.com>
src/test/librbd/test_ImageWatcher.cc