Reduce the timeout for restart/stop

This commit is contained in:
Guillaume J. Charmes 2013-11-29 10:32:52 -08:00
parent 86c00be180
commit 34353e782e
No known key found for this signature in database
GPG Key ID: B33E4642CB6E3FF3
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 {