summaryrefslogtreecommitdiff
path: root/test/e2e/restart_test.go
Commit message (Collapse)AuthorAge
* Add restart test with timeoutYiqiao Pu2018-04-23
| | | | | | | | | | | | 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>
* Improve restart latest container testYiqiao Pu2018-04-23
| | | | | | | | | | | | Remove the --latest from the restart running container test, and add a separated case with following steps: start two container in order: test1, test2 restart container with --latest check the start time for test1 and test2 And the results should be test1 is not restarted and test2 is restarted. Signed-off-by: Yiqiao Pu <ypu@redhat.com>
* Add start time check for restart testYiqiao Pu2018-04-23
| | | | | | Check the start time changed after restart the container. Signed-off-by: Yiqiao Pu <ypu@redhat.com>
* Fix E2E testsMatthew Heon2018-03-16
| | | | | | | Signed-off-by: Matthew Heon <mheon@redhat.com> Closes: #503 Approved by: rhatdan
* Fix E2E testsMatthew Heon2018-03-16
| | | | | | | Signed-off-by: Matthew Heon <mheon@redhat.com> Closes: #503 Approved by: rhatdan
* Fix nit in restart E2E testsMatthew Heon2018-03-16
| | | | | | | Signed-off-by: Matthew Heon <matthew.heon@gmail.com> Closes: #503 Approved by: rhatdan
* Add tests for restartMatthew Heon2018-03-16
Signed-off-by: Matthew Heon <matthew.heon@gmail.com> Closes: #503 Approved by: rhatdan