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>
This commit is contained in:
parent
1dcd1c970d
commit
cb76d15230
|
|
@ -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)))
|
||||
|
||||
|
|
|
|||
Loading…
Reference in New Issue