set varlink timeout to 1 seconds

Add option to varlink for --timeout.  Input for this option is in milliseconds

Signed-off-by: baude <bbaude@redhat.com>

Closes: 
Approved by: baude
This commit is contained in:
baude
2018-05-21 09:17:02 -05:00
committed by Atomic Bot
parent 82feafecdd
commit ae7c45968d
4 changed files with 34 additions and 15 deletions
cmd/podman
completions/bash
contrib/python/test
docs

@ -98,7 +98,7 @@ $PODMAN --version
set -x
# Run podman in background without systemd for test purposes
$PODMAN varlink ${PODMAN_HOST} >/tmp/test_runner.output 2>&1 &
$PODMAN --timeout 0 varlink ${PODMAN_HOST} >/tmp/test_runner.output 2>&1 &
if [[ -z $1 ]]; then
export PYTHONPATH=.