]> git.apps.os.sepia.ceph.com Git - teuthology.git/commitdiff
Use safe_while's action arg 219/head
authorZack Cerza <zack@cerza.org>
Fri, 7 Mar 2014 20:04:49 +0000 (14:04 -0600)
committerZack Cerza <zack@cerza.org>
Fri, 7 Mar 2014 20:04:49 +0000 (14:04 -0600)
Signed-off-by: Zack Cerza <zack.cerza@inktank.com>
teuthology/misc.py

index e19f352ad02b8a4552035f301e6d7a271a85586c..5cf520fe83bad5f4182bded6c8308417acb33e40 100644 (file)
@@ -821,7 +821,7 @@ def wait_until_healthy(ctx, remote):
     Wait until a Ceph cluster is healthy. Give up after 15min.
     """
     testdir = get_testdir(ctx)
-    with safe_while(tries=(900 / 6)) as timeout:
+    with safe_while(tries=(900 / 6), action="wait_until_healthy") as timeout:
         while True:  # finite
             timeout()
             r = remote.run(