integration: lower timeout for stop/restart tests

Docker-DCO-1.1-Signed-off-by: Cristian Staretu <cristian.staretu@gmail.com> (github: unclejack)
This commit is contained in:
unclejack 2014-09-24 01:20:41 +03:00
parent 42ec80bec0
commit 6a5f09b752

View file

@ -193,13 +193,13 @@ func TestCreateStartRestartStopStartKillRm(t *testing.T) {
} }
job = eng.Job("restart", id) job = eng.Job("restart", id)
job.SetenvInt("t", 15) job.SetenvInt("t", 2)
if err := job.Run(); err != nil { if err := job.Run(); err != nil {
t.Fatal(err) t.Fatal(err)
} }
job = eng.Job("stop", id) job = eng.Job("stop", id)
job.SetenvInt("t", 15) job.SetenvInt("t", 2)
if err := job.Run(); err != nil { if err := job.Run(); err != nil {
t.Fatal(err) t.Fatal(err)
} }