From: chuqifang Date: Wed, 4 Mar 2020 03:14:23 +0000 (+0800) Subject: teuthology/task: add timeout for clock task X-Git-Tag: 1.1.0~136^2 X-Git-Url: http://git-server-git.apps.pok.os.sepia.ceph.com/?a=commitdiff_plain;h=refs%2Fpull%2F1418%2Fhead;p=teuthology.git teuthology/task: add timeout for clock task when ntp is not config correctly, the clock task will be blocked Signed-off-by: chuqifang --- diff --git a/teuthology/task/clock.py b/teuthology/task/clock.py index 63f03e680..f7232ca53 100644 --- a/teuthology/task/clock.py +++ b/teuthology/task/clock.py @@ -49,6 +49,7 @@ def task(ctx, config): run.Raw('||'), 'true' ], + timeout = 60, ) try: