summaryrefslogtreecommitdiff
path: root/test
diff options
context:
space:
mode:
authorChris Evich <cevich@redhat.com>2022-04-06 16:18:39 -0400
committerChris Evich <cevich@redhat.com>2022-04-21 17:53:31 -0400
commit93ecafcbaec20c7f2c21896932d93b7a5df13f65 (patch)
treea040dffe788e623476695d03046272ee5f500da0 /test
parentd5f568efe37bbfdbca4b5e36afb7568c7eac3740 (diff)
downloadpodman-93ecafcbaec20c7f2c21896932d93b7a5df13f65.tar.gz
podman-93ecafcbaec20c7f2c21896932d93b7a5df13f65.tar.bz2
podman-93ecafcbaec20c7f2c21896932d93b7a5df13f65.zip
Workaround criu re-linking output in system test
When run on an F36 host using netavark/aardvark-dns, for whatever underlying reason most checkpoint/restore tests are emitting an error similar to: `criu: Symbol `__rseq_offset' has different size in shared object, consider re-linking` This extraneous output is causing the basic checkpoint system test to fail. Since, all other testing of checkpoint/restore feature is passing (also with the extraneous message) loosen the system test sensitivity to match. Signed-off-by: Chris Evich <cevich@redhat.com>
Diffstat (limited to 'test')
-rw-r--r--test/system/520-checkpoint.bats3
1 files changed, 2 insertions, 1 deletions
diff --git a/test/system/520-checkpoint.bats b/test/system/520-checkpoint.bats
index 046dfd126..b41d460a4 100644
--- a/test/system/520-checkpoint.bats
+++ b/test/system/520-checkpoint.bats
@@ -47,7 +47,8 @@ function teardown() {
# Checkpoint, and confirm via inspect
run_podman container checkpoint $cid
- is "$output" "$cid" "podman container checkpoint"
+ # FIXME: remove the `.*` prefix after fix packaged for https://github.com/checkpoint-restore/criu/pull/1706
+ is "$output" ".*$cid" "podman container checkpoint"
run_podman container inspect \
--format '{{.State.Status}}:{{.State.Running}}:{{.State.Paused}}:{{.State.Checkpointed}}' $cid