]> git-server-git.apps.pok.os.sepia.ceph.com Git - ceph.git/commitdiff
test: Add flush_pg_stats to make test more deterministic
authorDavid Zafman <dzafman@redhat.com>
Mon, 24 Sep 2018 21:35:39 +0000 (14:35 -0700)
committerDavid Zafman <dzafman@redhat.com>
Wed, 17 Oct 2018 23:54:45 +0000 (16:54 -0700)
Signed-off-by: David Zafman <dzafman@redhat.com>
qa/standalone/osd/osd-rep-recov-eio.sh

index 451ad40bff408340c785faf82ef067d53f369d1b..cf2a4813de06c90eb4d76f9922de934bbb4fd942 100755 (executable)
@@ -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