summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorPaul Holzinger <pholzing@redhat.com>2022-05-25 15:42:52 +0200
committerMatthew Heon <mheon@redhat.com>2022-06-14 14:29:12 -0400
commit64fb57b416b187c6172b2e457efb19fc44c2ad1f (patch)
treeda6db95c165f15158623f95c225bcc56fe25dd46
parent24ef21ebdf67b64b2a19de7cd65358771f0be732 (diff)
downloadpodman-64fb57b416b187c6172b2e457efb19fc44c2ad1f.tar.gz
podman-64fb57b416b187c6172b2e457efb19fc44c2ad1f.tar.bz2
podman-64fb57b416b187c6172b2e457efb19fc44c2ad1f.zip
fix f35 integration test network flake
I am not 100% sure if this is actually causing the problem but I was able to reproduce locally and this change fixed it there. Without the `-n` option iptables tries to reverse lookup the ips to domain names. This is extremely slow for unknown reasons. Given the large amount of iptables entries due parallel test runs it will not succeed in the default 90 sec timeout. Signed-off-by: Paul Holzinger <pholzing@redhat.com>
-rw-r--r--test/e2e/run_networking_test.go2
1 files changed, 1 insertions, 1 deletions
diff --git a/test/e2e/run_networking_test.go b/test/e2e/run_networking_test.go
index 3b32b4b82..4081ec45b 100644
--- a/test/e2e/run_networking_test.go
+++ b/test/e2e/run_networking_test.go
@@ -381,7 +381,7 @@ EXPOSE 2004-2005/tcp`, ALPINE)
session := podmanTest.Podman([]string{"run", "-dt", "-p", fmt.Sprintf("%d:%d", port1, port2), ALPINE, "/bin/sh"})
session.WaitWithDefaultTimeout()
Expect(session).Should(Exit(0))
- results := SystemExec("iptables", []string{"-t", "nat", "-L"})
+ results := SystemExec("iptables", []string{"-t", "nat", "-nvL"})
Expect(results).Should(Exit(0))
Expect(results.OutputToString()).To(ContainSubstring(fmt.Sprintf("%d", port2)))