]> git-server-git.apps.pok.os.sepia.ceph.com Git - ceph.git/commit
qa/suites/rbd: fix sporadic "rx-only direction" test failures 50112/head
authorIlya Dryomov <idryomov@gmail.com>
Fri, 10 Feb 2023 12:56:57 +0000 (13:56 +0100)
committerIlya Dryomov <idryomov@gmail.com>
Tue, 14 Feb 2023 14:47:28 +0000 (15:47 +0100)
commit97b46be1473e19251a6deaee3d05cf6860de3f73
tree45bf09f752fdd5a087f205b3de9863ec95ba08b3
parent22aea6b4b077eac022f794891bcba933fc3346b3
qa/suites/rbd: fix sporadic "rx-only direction" test failures

The existing

    xmlstarlet sel -t -v  '//mirror/peers/peer[1]/uuid')" = ""

test is bogus since a tx-only peer gets added after the remote
rbd-mirror daemon pings the local cluster.  It happened to pass most
of the time because xmlstarlet filter just failed on an empty peers
array, producing the wrongly expected empty string by accident.

Fixes: https://tracker.ceph.com/issues/58688
Signed-off-by: Ilya Dryomov <idryomov@gmail.com>
(cherry picked from commit 5cec2670be569ac9161743dec84f139b9e529d07)
qa/workunits/rbd/rbd_mirror_bootstrap.sh