summaryrefslogtreecommitdiff
path: root/cmd/podman/utils.go
diff options
context:
space:
mode:
authorYiqiao Pu <ypu@redhat.com>2018-04-23 17:21:23 +0800
committerYiqiao Pu <ypu@redhat.com>2018-04-23 17:34:26 +0800
commit04b58bc80cf58390d0923a4aff84ff07eef34d23 (patch)
tree2f2c19cedbba6361aeaa72681d4c73e6227c2424 /cmd/podman/utils.go
parent18c98375a08543d30b0371b8947aac347fc2e1c4 (diff)
downloadpodman-04b58bc80cf58390d0923a4aff84ff07eef34d23.tar.gz
podman-04b58bc80cf58390d0923a4aff84ff07eef34d23.tar.bz2
podman-04b58bc80cf58390d0923a4aff84ff07eef34d23.zip
Add restart test with timeout
Test the --timeout flag with a container which can not be stopped with SIGSTOP. This means the container should can not be stopped and will be killed then restart with timeout value. Test steps: Start a container with STOPSIGNAL=SIGKILL Restart it with --timeout set to 2s Check the restart command will finished more than 2s and less than 10s(the default timeout) Signed-off-by: Yiqiao Pu <ypu@redhat.com>
Diffstat (limited to 'cmd/podman/utils.go')
0 files changed, 0 insertions, 0 deletions