diff --git a/integration/container_test.go b/integration/container_test.go index 8ed5525c722661477f3b22c5ee1486f6c48f35e5..d3d35734edfbc9685881d375bb845af29ba62ad6 100644 --- a/integration/container_test.go +++ b/integration/container_test.go @@ -350,7 +350,7 @@ func TestStart(t *testing.T) { if !container.State.IsRunning() { t.Errorf("Container should be running") } - if err := container.Start(); err == nil { + if err := container.Start(); err != nil { t.Fatalf("A running container should be able to be started") } @@ -385,7 +385,7 @@ func TestCpuShares(t *testing.T) { if !container.State.IsRunning() { t.Errorf("Container should be running") } - if err := container.Start(); err == nil { + if err := container.Start(); err != nil { t.Fatalf("A running container should be able to be started") }