From b883d7a994f967b70a4affceece6f4321c75c645 Mon Sep 17 00:00:00 2001 From: Kefu Chai Date: Fri, 19 May 2017 18:31:28 +0800 Subject: [PATCH] test/osd/osd-dup.sh: flush_pg_stats before "ceph -s" Signed-off-by: Kefu Chai --- src/test/osd/osd-dup.sh | 2 ++ 1 file changed, 2 insertions(+) diff --git a/src/test/osd/osd-dup.sh b/src/test/osd/osd-dup.sh index 1c8ec08890f..9957fda0371 100755 --- a/src/test/osd/osd-dup.sh +++ b/src/test/osd/osd-dup.sh @@ -70,6 +70,8 @@ function TEST_filestore_to_bluestore() { # give it some time sleep 15 + # and make sure mon is sync'ed + flush_pg_stats ceph -s | grep '20 active+clean' || return 1 } -- 2.39.5