Browse code

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

This reverts commit 4434dcee89f7d0d0239f6b492b24e940cdbafb21.

Docker-DCO-1.1-Signed-off-by: Michael Crosby <michael@crosbymichael.com> (github: crosbymichael)

Michael Crosby authored on 2014/03/24 21:03:41
Showing 1 changed files
... ...
@@ -416,7 +416,7 @@ func TestRestartKillWait(t *testing.T) {
416 416
 	})
417 417
 }
418 418
 
419
-func TestCreateStartRestartKillStartKillRm(t *testing.T) {
419
+func TestCreateStartRestartStopStartKillRm(t *testing.T) {
420 420
 	eng := NewTestEngine(t)
421 421
 	srv := mkServerFromEngine(eng, t)
422 422
 	defer mkRuntimeFromEngine(eng, t).Nuke()
... ...
@@ -456,7 +456,8 @@ func TestCreateStartRestartKillStartKillRm(t *testing.T) {
456 456
 		t.Fatal(err)
457 457
 	}
458 458
 
459
-	job = eng.Job("kill", id)
459
+	job = eng.Job("stop", id)
460
+	job.SetenvInt("t", 15)
460 461
 	if err := job.Run(); err != nil {
461 462
 		t.Fatal(err)
462 463
 	}