mirror of
https://github.com/containers/podman.git
synced 2025-11-29 01:28:22 +08:00
test/system: skip flaky restore test on debian
Somehow this only flakes on debian as it seem the /etc/hosts file on the host system changes and thus causes a false postive with the before/after restore comparison. Signed-off-by: Paul Holzinger <pholzing@redhat.com>
This commit is contained in:
@@ -236,6 +236,12 @@ function setup() {
|
||||
|
||||
# bats test_tags=ci:parallel
|
||||
@test "podman checkpoint/restore ip and mac handling" {
|
||||
# Broken only debian as it seems the host's /etc/hosts file keeps changing
|
||||
# which causes false positives in the before/after restore comparison.
|
||||
OS_RELEASE_ID="${OS_RELEASE_ID:-$(source /etc/os-release; echo $ID)}"
|
||||
if [[ "$OS_RELEASE_ID" == "debian" ]]; then
|
||||
skip "Test flakes on debian in CI"
|
||||
fi
|
||||
# Refer to https://github.com/containers/podman/issues/16666#issuecomment-1337860545
|
||||
# for the correct behavior, this should cover all cases listed there.
|
||||
local netname="net-$(safename)"
|
||||
|
||||
Reference in New Issue
Block a user