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.apps.os.sepia.ceph.com/?a=commitdiff_plain;h=ec38bd3cb39b0f0927d5dd14364351852b3353d4;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 e19f352ad0..5cf520fe83 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(