]> git.apps.os.sepia.ceph.com Git - teuthology.git/commit
Add option to retry for exec task.
authorVasu Kulkarni <vasu@redhat.com>
Fri, 5 Jan 2018 01:51:04 +0000 (17:51 -0800)
committerVasu Kulkarni <vasu@redhat.com>
Mon, 17 Dec 2018 23:10:49 +0000 (15:10 -0800)
commit56f266aba4296afda62fbd4b98798988a4dd59b2
tree548264653196e0c9d4b9cded01711c5155a4c328
parentb0236eee9d312ce9bf4b7d6e15cb936bca4b996c
Add option to retry for exec task.

retry and sleep_for_retry options can be used with exec task without
needing to use lengthy shell based while loops for similar
task. Also adds timeout option for commands that can be used
to return within specified time.

Signed-off-by: Vasu Kulkarni <vasu@redhat.com>
teuthology/task/exec.py