From 4434dcee89f7d0d0239f6b492b24e940cdbafb21 Mon Sep 17 00:00:00 2001 From: unclejack Date: Wed, 19 Mar 2014 23:23:45 +0200 Subject: [PATCH] fix failing test to use kill instead of stop TestCreateStartRestartStopStartKillRm was failing because stop has been changed to not kill containers. Docker-DCO-1.1-Signed-off-by: Cristian Staretu (github: unclejack) --- integration/server_test.go | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/integration/server_test.go b/integration/server_test.go index a401f1306e..617f81fa4d 100644 --- a/integration/server_test.go +++ b/integration/server_test.go @@ -416,7 +416,7 @@ func TestRestartKillWait(t *testing.T) { }) } -func TestCreateStartRestartStopStartKillRm(t *testing.T) { +func TestCreateStartRestartKillStartKillRm(t *testing.T) { eng := NewTestEngine(t) srv := mkServerFromEngine(eng, t) defer mkRuntimeFromEngine(eng, t).Nuke() @@ -456,8 +456,7 @@ func TestCreateStartRestartStopStartKillRm(t *testing.T) { t.Fatal(err) } - job = eng.Job("stop", id) - job.SetenvInt("t", 15) + job = eng.Job("kill", id) if err := job.Run(); err != nil { t.Fatal(err) }