Signed-off-by: Zack Cerza <zack.cerza@inktank.com>
Wait until a Ceph cluster is healthy. Give up after 15min.
"""
testdir = get_testdir(ctx)
- with safe_while(sleep=5, increment=0, tries=180) as timeout:
+ with safe_while(tries=(900 / 6)) as timeout:
while True: # finite
timeout()
r = remote.run(
Optionally, timeout after 'timeout' seconds.
"""
if timeout and timeout > 0:
- with safe_while(sleep=5, increment=0, tries=(timeout/5)) as check_time:
+ with safe_while(tries=(timeout / 6)) as check_time:
not_ready = list(processes)
while len(not_ready) > 0:
check_time()