Skip to content

Commit 3100824

Browse files
committed
Fix an expected error message from pod removal
Signed-off-by: Matthew Heon <matthew.heon@pm.me>
1 parent a750cd9 commit 3100824

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

test/e2e/pod_rm_test.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -123,7 +123,7 @@ var _ = Describe("Podman pod rm", func() {
123123
result := podmanTest.Podman([]string{"pod", "rm", "-a"})
124124
result.WaitWithDefaultTimeout()
125125
Expect(result).To(ExitWithError())
126-
Expect(result.ErrorToString()).To(ContainSubstring("cannot be removed"))
126+
Expect(result.ErrorToString()).To(ContainSubstring("not all containers could be removed from pod"))
127127

128128
numPods = podmanTest.NumberOfPods()
129129
ps = podmanTest.Podman([]string{"pod", "ps"})

0 commit comments

Comments
 (0)