Add timeout support to run_cmd
authorSamir Aguiar <samirjaguiar@gmail.com>
Fri, 14 Dec 2018 18:24:16 +0000 (16:24 -0200)
committerChristian Herdtweck <christian.herdtweck@intra2net.com>
Thu, 7 Feb 2019 15:50:39 +0000 (16:50 +0100)
commitdfa7c024cf56927eb7153e88444ebe1f3cf42d31
treebe1183117a8772bf521baf0bd6399f5a7b6cb6d9
parentcb6565739b2850ba7773dba9da524d69b5c7266a
Add timeout support to run_cmd

When calling shell commands on a VM we have a default timeout
of 60 seconds (in the session functions designed to run remote
commands). However, some arnied_wrapper functions such as
`wait_for_run` (which calls `arnied_helper
--wait-for-program-timeout`) require a larger timeout, so we
need to be able to overwrite the default.
src/arnied_wrapper.py