diff --git a/test/e2e/pod_rm_test.go b/test/e2e/pod_rm_test.go index ef32e30b22..d5d0e4ccc7 100644 --- a/test/e2e/pod_rm_test.go +++ b/test/e2e/pod_rm_test.go @@ -123,7 +123,7 @@ var _ = Describe("Podman pod rm", func() { result := podmanTest.Podman([]string{"pod", "rm", "-a"}) result.WaitWithDefaultTimeout() Expect(result).To(ExitWithError()) - Expect(result.ErrorToString()).To(ContainSubstring("cannot be removed")) + Expect(result.ErrorToString()).To(ContainSubstring("not all containers could be removed from pod")) numPods = podmanTest.NumberOfPods() ps = podmanTest.Podman([]string{"pod", "ps"})