From: Zack Cerza Date: Fri, 7 Mar 2014 20:04:49 +0000 (-0600) Subject: Use safe_while's action arg X-Git-Tag: 1.1.0~1616 X-Git-Url: http://git-server-git.apps.pok.os.sepia.ceph.com/?a=commitdiff_plain;h=refs%2Fpull%2F219%2Fhead;p=teuthology.git Use safe_while's action arg Signed-off-by: Zack Cerza --- diff --git a/teuthology/misc.py b/teuthology/misc.py index e19f352ad..5cf520fe8 100644 --- a/teuthology/misc.py +++ b/teuthology/misc.py @@ -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(