diff options
author | OpenShift Merge Robot <openshift-merge-robot@users.noreply.github.com> | 2021-11-22 16:39:12 +0100 |
---|---|---|
committer | GitHub <noreply@github.com> | 2021-11-22 16:39:12 +0100 |
commit | bfc929efc44cc9255406ed6c2abec1b8a4f36dab (patch) | |
tree | 9d9812aa975b548a6674365e8c9a889eb4ecc99d /libpod/network/netavark/run_test.go | |
parent | 26b45a1564fb01090f6a10776922654641a76681 (diff) | |
parent | 8198e96f3192c9a96b0568524d5732e34025e09f (diff) | |
download | podman-bfc929efc44cc9255406ed6c2abec1b8a4f36dab.tar.gz podman-bfc929efc44cc9255406ed6c2abec1b8a4f36dab.tar.bz2 podman-bfc929efc44cc9255406ed6c2abec1b8a4f36dab.zip |
Merge pull request #12372 from Luap99/syslog-netavark
Make sure netavark output is logged to the syslog
Diffstat (limited to 'libpod/network/netavark/run_test.go')
-rw-r--r-- | libpod/network/netavark/run_test.go | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/libpod/network/netavark/run_test.go b/libpod/network/netavark/run_test.go index 67dc51c10..f79e6d812 100644 --- a/libpod/network/netavark/run_test.go +++ b/libpod/network/netavark/run_test.go @@ -89,6 +89,10 @@ var _ = Describe("run netavark", func() { if err != nil { Fail("Failed to create netns") } + + // Force iptables driver, firewalld is broken inside the extra + // namespace because it still connects to firewalld on the host. + _ = os.Setenv("NETAVARK_FW", "iptables") }) JustBeforeEach(func() { @@ -109,6 +113,8 @@ var _ = Describe("run netavark", func() { netns.UnmountNS(netNSContainer) netNSContainer.Close() + + _ = os.Unsetenv("NETAVARK_FW") }) It("test basic setup", func() { |