]> git.apps.os.sepia.ceph.com Git - teuthology.git/commitdiff
teuthology/task: add timeout for clock task 1418/head
authorchuqifang <chuqifang@hisilicon.com>
Wed, 4 Mar 2020 03:14:23 +0000 (11:14 +0800)
committerluo rixin <luorixin@huawei.com>
Mon, 9 Mar 2020 02:51:15 +0000 (10:51 +0800)
when ntp is not config correctly, the clock task will be blocked

Signed-off-by: chuqifang <chuqifang@hisilicon.com>
teuthology/task/clock.py

index 63f03e6808329a9047442dfa69a03969585405d6..f7232ca5356a3bbb385a26982a7f9d1e936bb891 100644 (file)
@@ -49,6 +49,7 @@ def task(ctx, config):
                 run.Raw('||'),
                 'true'
             ],
+            timeout = 60,
         )
 
     try: