avocado.plugins.docker: Remove `docker run` timeout

The `docker run` command can actually take longer, when pulling the
image from hub. Let's remove the timeout completelly.
Signed-off-by: NLukáš Doktor <ldoktor@redhat.com>
上级 54ace9a8
......@@ -43,7 +43,7 @@ class DockerRemoter(object):
self._dkrcmd = dkrcmd
self._docker = None
run_cmd = "%s run -t -i -d '%s' bash" % (self._dkrcmd, image)
self._docker_id = (process.system_output(run_cmd, 10).splitlines()[-1]
self._docker_id = (process.system_output(run_cmd, None).splitlines()[-1]
.strip())
self._docker = aexpect.ShellSession("%s attach %s"
% (self._dkrcmd, self._docker_id))
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册