From 30efce5ba02ef8c7f42d93f0918b77cc840abf49 Mon Sep 17 00:00:00 2001 From: Dan Mick Date: Thu, 15 Jun 2017 23:12:14 -0700 Subject: [PATCH] test/osd/osd-dup.sh: use wait_for_clean Rather than a onetime 'ceph -s' test, which might be too early on a loaded machine, use wait_for_clean; that's its job Signed-off-by: Dan Mick --- src/test/osd/osd-dup.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/test/osd/osd-dup.sh b/src/test/osd/osd-dup.sh index bf48a39ea5277..f497005d168a7 100755 --- a/src/test/osd/osd-dup.sh +++ b/src/test/osd/osd-dup.sh @@ -72,7 +72,7 @@ function TEST_filestore_to_bluestore() { # and make sure mon is sync'ed flush_pg_stats - ceph -s | grep '20 active+clean' || return 1 + wait_for_clean || return 1 } main osd-dup "$@" -- 2.39.5