]> git.apps.os.sepia.ceph.com Git - teuthology.git/commitdiff
task/ceph: add option to avoid doing scrub 282/head
authorJohn Spray <jspray@redhat.com>
Thu, 3 Jul 2014 11:08:58 +0000 (12:08 +0100)
committerJohn Spray <jspray@redhat.com>
Thu, 3 Jul 2014 15:09:29 +0000 (16:09 +0100)
When iterating on test in development, it's useful
to be able to skip this step.

Signed-off-by: John Spray <john.spray@redhat.com>
teuthology/task/ceph.py

index b1ab5d49b28939b190dd40c0165aff94f49d8bec..b6d6949c81ba3694fa9e756acddd7e3ee6d058ec 100644 (file)
@@ -1494,4 +1494,5 @@ def task(ctx, config):
                 healthy(ctx=ctx, config=None)
             yield
         finally:
-            osd_scrub_pgs(ctx, config)
+            if config.get('wait-for-scrub', True):
+                osd_scrub_pgs(ctx, config)