mirror of
https://github.com/moby/moby.git
synced 2022-11-09 12:21:53 -05:00
Reduce the timeout for restart/stop
This commit is contained in:
parent
86c00be180
commit
34353e782e
2 changed files with 3 additions and 3 deletions
|
@ -183,11 +183,11 @@ func TestCreateStartRestartStopStartKillRm(t *testing.T) {
|
|||
t.Fatal(err)
|
||||
}
|
||||
|
||||
if err := srv.ContainerRestart(id, 150); err != nil {
|
||||
if err := srv.ContainerRestart(id, 15); err != nil {
|
||||
t.Fatal(err)
|
||||
}
|
||||
|
||||
if err := srv.ContainerStop(id, 150); err != nil {
|
||||
if err := srv.ContainerStop(id, 15); err != nil {
|
||||
t.Fatal(err)
|
||||
}
|
||||
|
||||
|
|
|
@ -9,7 +9,7 @@ import (
|
|||
)
|
||||
|
||||
var (
|
||||
ErrInvalidState = errors.New("Invlide terminal state")
|
||||
ErrInvalidState = errors.New("Invlid terminal state")
|
||||
)
|
||||
|
||||
type State struct {
|
||||
|
|
Loading…
Add table
Reference in a new issue