summaryrefslogtreecommitdiff
path: root/test/utils/utils.go
diff options
context:
space:
mode:
authorPaul Holzinger <pholzing@redhat.com>2022-07-22 15:29:18 +0200
committerMatthew Heon <matthew.heon@pm.me>2022-07-26 14:42:48 -0400
commitfd1f5f55ab2b098d8b59d86c0aded15e8f11f392 (patch)
tree1e5cb42e8c9a4fb33d0952c45506b7b970db390e /test/utils/utils.go
parentc7fef73166d4a5b91bdcfe34285b81e1a625be61 (diff)
downloadpodman-fd1f5f55ab2b098d8b59d86c0aded15e8f11f392.tar.gz
podman-fd1f5f55ab2b098d8b59d86c0aded15e8f11f392.tar.bz2
podman-fd1f5f55ab2b098d8b59d86c0aded15e8f11f392.zip
integration test: fix network backend option with remote
I honestly do not understand all this extra option parsing here but there is really no reason to exclude the option for remote, all the other global options are also set there. This fixes a problem with mixed cni/netavark use because the option was unset. Fixes #15017 Signed-off-by: Paul Holzinger <pholzing@redhat.com>
Diffstat (limited to 'test/utils/utils.go')
-rw-r--r--test/utils/utils.go3
1 files changed, 0 insertions, 3 deletions
diff --git a/test/utils/utils.go b/test/utils/utils.go
index 924f66ec8..72339014e 100644
--- a/test/utils/utils.go
+++ b/test/utils/utils.go
@@ -110,9 +110,6 @@ func (p *PodmanTest) PodmanAsUserBase(args []string, uid, gid uint32, cwd string
}
runCmd := wrapper
runCmd = append(runCmd, podmanBinary)
- if !p.RemoteTest && p.NetworkBackend == Netavark {
- runCmd = append(runCmd, []string{"--network-backend", "netavark"}...)
- }
if env == nil {
fmt.Printf("Running: %s %s\n", strings.Join(runCmd, " "), strings.Join(podmanOptions, " "))