TestCreateStartRestartStopStartKillRm was failing because stop has been
changed to not kill containers.
Docker-DCO-1.1-Signed-off-by: Cristian Staretu <cristian.staretu@gmail.com> (github: unclejack)
| ... | ... |
@@ -416,7 +416,7 @@ func TestRestartKillWait(t *testing.T) {
|
| 416 | 416 |
}) |
| 417 | 417 |
} |
| 418 | 418 |
|
| 419 |
-func TestCreateStartRestartStopStartKillRm(t *testing.T) {
|
|
| 419 |
+func TestCreateStartRestartKillStartKillRm(t *testing.T) {
|
|
| 420 | 420 |
eng := NewTestEngine(t) |
| 421 | 421 |
srv := mkServerFromEngine(eng, t) |
| 422 | 422 |
defer mkRuntimeFromEngine(eng, t).Nuke() |
| ... | ... |
@@ -456,8 +456,7 @@ func TestCreateStartRestartStopStartKillRm(t *testing.T) {
|
| 456 | 456 |
t.Fatal(err) |
| 457 | 457 |
} |
| 458 | 458 |
|
| 459 |
- job = eng.Job("stop", id)
|
|
| 460 |
- job.SetenvInt("t", 15)
|
|
| 459 |
+ job = eng.Job("kill", id)
|
|
| 461 | 460 |
if err := job.Run(); err != nil {
|
| 462 | 461 |
t.Fatal(err) |
| 463 | 462 |
} |