]> git.apps.os.sepia.ceph.com Git - ceph.git/commitdiff
qa/workunits/ceph-helpers.sh: Improve test_mon_pg() by starting healthy
authorWillem Jan Withagen <wjw@digiware.nl>
Thu, 20 Apr 2017 15:49:41 +0000 (08:49 -0700)
committerDavid Zafman <dzafman@redhat.com>
Thu, 20 Apr 2017 22:47:01 +0000 (15:47 -0700)
Signed-off-by: Willem Jan Withagen <wjw@digiware.nl>
qa/workunits/cephtool/test.sh

index 7228256a8e95ba7e3443f7826af1019ab9a93173..7f539a544985d16d3ba68c49740bb1b0f1319f40 100755 (executable)
@@ -1396,6 +1396,9 @@ function test_mon_osd_pool_quota()
 
 function test_mon_pg()
 {
+  # Make sure we start healthy.
+  wait_for_health_ok
+
   ceph pg debug unfound_objects_exist
   ceph pg debug degraded_pgs_exist
   ceph pg deep-scrub 0.0