Reduce the timeout for restart/stop

Upstream-commit: 34353e782e1cdbd6aae078b3e660875e703d35ff
Component: engine
This commit is contained in:
Guillaume J. Charmes
2013-11-29 10:32:52 -08:00
parent 2135aa6aca
commit ccfe71909e
2 changed files with 3 additions and 3 deletions

View File

@ -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)
}

View File

@ -9,7 +9,7 @@ import (
)
var (
ErrInvalidState = errors.New("Invlide terminal state")
ErrInvalidState = errors.New("Invlid terminal state")
)
type State struct {