aboutgitcodebugslistschat
diff options
context:
space:
mode:
authorStefano Brivio <sbrivio@redhat.com>2025-01-11 00:46:51 +0100
committerStefano Brivio <sbrivio@redhat.com>2025-01-15 22:16:32 +0100
commitf04b483d1509b852951fe1421ef6f6740c9f9a08 (patch)
treeac42f16e75d2577cdfaa7020d3542a6ebae730f7
parent2c174f1fe8a5f1923b14cde703941d4daac39850 (diff)
downloadpasst-f04b483d1509b852951fe1421ef6f6740c9f9a08.tar
passt-f04b483d1509b852951fe1421ef6f6740c9f9a08.tar.gz
passt-f04b483d1509b852951fe1421ef6f6740c9f9a08.tar.bz2
passt-f04b483d1509b852951fe1421ef6f6740c9f9a08.tar.lz
passt-f04b483d1509b852951fe1421ef6f6740c9f9a08.tar.xz
passt-f04b483d1509b852951fe1421ef6f6740c9f9a08.tar.zst
passt-f04b483d1509b852951fe1421ef6f6740c9f9a08.zip
test/pasta_podman: Run Podman tests on a single CPU thread
Increasingly often, I'm getting occasional failures of the same type as https://github.com/containers/podman/issues/24147. I guess it mostly depends on the system load. It will be a while until I'll actually run tests on a kernel including my fix for it, kernel commit a502ea6fa94b ("udp: Deal with race between UDP socket address change and rehash"), so add a horrible workaround using taskset(1), for the moment. Signed-off-by: Stefano Brivio <sbrivio@redhat.com>
-rw-r--r--test/pasta_podman/bats2
1 files changed, 1 insertions, 1 deletions
diff --git a/test/pasta_podman/bats b/test/pasta_podman/bats
index 6b1c575..2f07be8 100644
--- a/test/pasta_podman/bats
+++ b/test/pasta_podman/bats
@@ -23,4 +23,4 @@ check [ "__PASTA_BIN__" = "__WD__/pasta" ]
test Podman system test with bats
-host PODMAN="__PODMAN__" CONTAINERS_HELPER_BINARY_DIR="__WD__" bats test/podman/test/system/505-networking-pasta.bats
+host PODMAN="__PODMAN__" CONTAINERS_HELPER_BINARY_DIR="__WD__" taskset -c 1 bats test/podman/test/system/505-networking-pasta.bats