From b33edbc4f611c8e3c72c67b2d954b47af14ad01e Mon Sep 17 00:00:00 2001 From: David Zafman Date: Mon, 24 Sep 2018 14:35:39 -0700 Subject: [PATCH] test: Add flush_pg_stats to make test more deterministic Signed-off-by: David Zafman --- qa/standalone/osd/osd-rep-recov-eio.sh | 1 + 1 file changed, 1 insertion(+) 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 -- 2.39.5