mirror of
https://github.com/ceph/ceph
synced 2025-01-02 09:02:34 +00:00
qa/*/osd-scrub-repair.sh: don't fail if PG is in active+clean+wait
a0b453ad33
added the wait state, which can
make PGs stay in active+clean+wait for a while instead of going into
active+clean directly. As far as TEST_auto_repair_bluestore_failed is
concerned, we only care about the repair state being cleared.
Fixes: https://tracker.ceph.com/issues/45075
Signed-off-by: Neha Ojha <nojha@redhat.com>
This commit is contained in:
parent
4f82ebf41b
commit
7c8b627eaa
@ -496,7 +496,7 @@ function TEST_auto_repair_bluestore_failed() {
|
||||
|
||||
flush_pg_stats
|
||||
ceph pg dump pgs
|
||||
ceph pg dump pgs | grep -q "^${pgid}.* active+clean " || return 1
|
||||
ceph pg dump pgs | grep -q -e "^${pgid}.* active+clean " -e "^${pgid}.* active+clean+wait " || return 1
|
||||
grep scrub_finish $dir/osd.${primary}.log
|
||||
|
||||
# Tear down
|
||||
|
Loading…
Reference in New Issue
Block a user