eat output from docker kill as well

pull/3761/head
Jan Tattermusch 9 years ago
parent ab5bc721a0
commit cc6a2b89fc
  1. 4
      tools/run_tests/dockerjob.py

@ -46,7 +46,9 @@ def random_name(base_name):
def docker_kill(cid):
"""Kills a docker container. Returns True if successful."""
return subprocess.call(['docker','kill', str(cid)]) == 0
return subprocess.call(['docker','kill', str(cid)],
stdout=_DEVNULL,
stderr=subprocess.STDOUT) == 0
def docker_mapped_port(cid, port, timeout_seconds=15):

Loading…
Cancel
Save