]> git.apps.os.sepia.ceph.com Git - teuthology.git/commitdiff
task: ceph: don't wait for 'healthy' if 'wait-for-healthy' is false.
authorJoao Eduardo Luis <jecluis@gmail.com>
Mon, 31 Dec 2012 16:11:50 +0000 (16:11 +0000)
committerJoao Eduardo Luis <jecluis@gmail.com>
Mon, 31 Dec 2012 16:11:50 +0000 (16:11 +0000)
This new config option obviously defaults to 'true' in order to not only
maintain compatibility, but because it makes sense.

Signed-off-by: Joao Eduardo Luis <jecluis@gmail.com>
teuthology/task/ceph.py

index 256eeadb7fa736b08d9513853ce0bed70bd14291..3901d1060ee0fe9e04193f9cd368c60f35a33c23 100644 (file)
@@ -1087,5 +1087,6 @@ def task(ctx, config):
         lambda: run_daemon(ctx=ctx, config=config, type_='osd'),
         lambda: run_daemon(ctx=ctx, config=config, type_='mds'),
         ):
-        healthy(ctx=ctx, config=None)
+        if config.get('wait-for-healthy', True):
+          healthy(ctx=ctx, config=None)
         yield