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
2 changed files with 3 additions and 3 deletions
+2 -2
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)
}
+1 -1
View File
@@ -9,7 +9,7 @@ import (
)
var (
ErrInvalidState = errors.New("Invlide terminal state")
ErrInvalidState = errors.New("Invlid terminal state")
)
type State struct {