Reduce the timeout for restart/stop
Upstream-commit: 34353e782e1cdbd6aae078b3e660875e703d35ff Component: engine
This commit is contained in:
@ -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 {
|
||||
|
||||
Reference in New Issue
Block a user