Revert "fix failing test to use kill instead of stop"

This reverts commit 4434dcee89.

Docker-DCO-1.1-Signed-off-by: Michael Crosby <michael@crosbymichael.com> (github: crosbymichael)
This commit is contained in:
Michael Crosby 2014-03-24 12:03:41 +00:00
Родитель 5294bf7e67
Коммит f1bd79ec97
1 изменённых файлов: 3 добавлений и 2 удалений

Просмотреть файл

@ -416,7 +416,7 @@ func TestRestartKillWait(t *testing.T) {
}) })
} }
func TestCreateStartRestartKillStartKillRm(t *testing.T) { func TestCreateStartRestartStopStartKillRm(t *testing.T) {
eng := NewTestEngine(t) eng := NewTestEngine(t)
srv := mkServerFromEngine(eng, t) srv := mkServerFromEngine(eng, t)
defer mkRuntimeFromEngine(eng, t).Nuke() defer mkRuntimeFromEngine(eng, t).Nuke()
@ -456,7 +456,8 @@ func TestCreateStartRestartKillStartKillRm(t *testing.T) {
t.Fatal(err) t.Fatal(err)
} }
job = eng.Job("kill", id) job = eng.Job("stop", id)
job.SetenvInt("t", 15)
if err := job.Run(); err != nil { if err := job.Run(); err != nil {
t.Fatal(err) t.Fatal(err)
} }