From: David Zafman Date: Mon, 24 Sep 2018 21:35:39 +0000 (-0700) Subject: test: Add flush_pg_stats to make test more deterministic X-Git-Tag: v14.0.1~4^2~1 X-Git-Url: http://git-server-git.apps.pok.os.sepia.ceph.com/?a=commitdiff_plain;h=b33edbc4f611c8e3c72c67b2d954b47af14ad01e;p=ceph.git test: Add flush_pg_stats to make test more deterministic Signed-off-by: David Zafman --- diff --git a/qa/standalone/osd/osd-rep-recov-eio.sh b/qa/standalone/osd/osd-rep-recov-eio.sh index 451ad40bff4..cf2a4813de0 100755 --- a/qa/standalone/osd/osd-rep-recov-eio.sh +++ b/qa/standalone/osd/osd-rep-recov-eio.sh @@ -321,6 +321,7 @@ function TEST_rep_read_unfound() { sleep 5 + flush_pg_stats ceph --format=json pg dump pgs | jq '.' if ! ceph --format=json pg dump pgs | jq '.pg_stats | .[0].state' | grep -q recovery_unfound