summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorRadostin Stoyanov <radostin@redhat.com>2021-11-19 13:02:58 +0000
committerRadostin Stoyanov <radostin@redhat.com>2021-11-19 13:02:58 +0000
commit84021cfdc3c968535208c6c25bef18a477f8bea1 (patch)
treee76bedb6f21c2ca04fdc182b57de4e9418db4213
parent63196c26a96652a824ff2d3fe68ac467060a0001 (diff)
downloadpodman-84021cfdc3c968535208c6c25bef18a477f8bea1.tar.gz
podman-84021cfdc3c968535208c6c25bef18a477f8bea1.tar.bz2
podman-84021cfdc3c968535208c6c25bef18a477f8bea1.zip
test: Update error string for --file-locks test
Use a substring matching the end of the error message. Closes: #12366 Signed-off-by: Radostin Stoyanov <radostin@redhat.com>
-rw-r--r--test/e2e/checkpoint_test.go2
1 files changed, 1 insertions, 1 deletions
diff --git a/test/e2e/checkpoint_test.go b/test/e2e/checkpoint_test.go
index 4963b04fc..6b9a96e9f 100644
--- a/test/e2e/checkpoint_test.go
+++ b/test/e2e/checkpoint_test.go
@@ -1355,7 +1355,7 @@ var _ = Describe("Podman checkpoint", func() {
result := podmanTest.Podman([]string{"container", "checkpoint", "test_name"})
result.WaitWithDefaultTimeout()
Expect(result).Should(Exit(125))
- Expect(result.ErrorToString()).To(ContainSubstring("criu failed"))
+ Expect(result.ErrorToString()).To(ContainSubstring("failed: exit status 1"))
Expect(podmanTest.NumberOfContainersRunning()).To(Equal(1))
// Checkpoint is expected to succeed with --file-locks