From ed586c1bb0cdcc9db5ea0662cafba9b2a6d83cda Mon Sep 17 00:00:00 2001 From: Joao Eduardo Luis Date: Mon, 31 Dec 2012 16:11:50 +0000 Subject: [PATCH] task: ceph: don't wait for 'healthy' if 'wait-for-healthy' is false. 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 --- teuthology/task/ceph.py | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/teuthology/task/ceph.py b/teuthology/task/ceph.py index 256eeadb7fa73..3901d1060ee0f 100644 --- a/teuthology/task/ceph.py +++ b/teuthology/task/ceph.py @@ -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 -- 2.39.5