]> git-server-git.apps.pok.os.sepia.ceph.com Git - ceph.git/commitdiff
osd_recovery: add delay to ensure maps propogate
authorSamuel Just <sjust@redhat.com>
Fri, 13 May 2016 23:13:30 +0000 (16:13 -0700)
committerSamuel Just <sjust@redhat.com>
Fri, 13 May 2016 23:15:53 +0000 (16:15 -0700)
Signed-off-by: Samuel Just <sjust@redhat.com>
tasks/osd_recovery.py

index a22fdb9423e9c89385f14ecde2fd62e11a3d4cd3..6ea9391e49237b85cc56aa7003da4330c99626f5 100644 (file)
@@ -170,10 +170,12 @@ def test_incomplete_pgs(ctx, config):
     # move it back
     manager.raw_cluster_cmd('osd', 'in', '0', '1')
     manager.raw_cluster_cmd('osd', 'out', '2', '3')
+    time.sleep(10)
     manager.raw_cluster_cmd('tell', 'osd.0', 'flush_pg_stats')
     manager.raw_cluster_cmd('tell', 'osd.1', 'flush_pg_stats')
     manager.raw_cluster_cmd('tell', 'osd.2', 'flush_pg_stats')
     manager.raw_cluster_cmd('tell', 'osd.3', 'flush_pg_stats')
+    time.sleep(10)
     manager.wait_for_active()
 
     assert not manager.is_clean()