From af063341142938941f2652c320f99e379dd45b7a Mon Sep 17 00:00:00 2001 From: Megan Marsh Date: Fri, 29 Mar 2019 11:37:23 -0700 Subject: [PATCH] fix tests --- builder/docker/step_run_test.go | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/builder/docker/step_run_test.go b/builder/docker/step_run_test.go index bc6639319..c76c7c637 100644 --- a/builder/docker/step_run_test.go +++ b/builder/docker/step_run_test.go @@ -52,16 +52,16 @@ func TestStepRun(t *testing.T) { } // Verify we haven't called stop yet - if driver.StopCalled { + if driver.KillCalled { t.Fatal("should not have stopped") } // Cleanup step.Cleanup(state) - if !driver.StopCalled { + if !driver.KillCalled { t.Fatal("should've stopped") } - if driver.StopID != id { + if driver.KillID != id { t.Fatalf("bad: %#v", driver.StopID) } } @@ -85,13 +85,13 @@ func TestStepRun_error(t *testing.T) { } // Verify we haven't called stop yet - if driver.StopCalled { + if driver.KillCalled { t.Fatal("should not have stopped") } // Cleanup step.Cleanup(state) - if driver.StopCalled { + if driver.KillCalled { t.Fatal("should not have stopped") } }