From 290116bf81a0ef68d1fcfe39ea3c3aeb2b3de008 Mon Sep 17 00:00:00 2001 From: Paul Holzinger Date: Fri, 22 Jul 2022 15:29:18 +0200 Subject: 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 --- test/utils/utils.go | 3 --- 1 file changed, 3 deletions(-) (limited to 'test/utils/utils.go') diff --git a/test/utils/utils.go b/test/utils/utils.go index e84b57cc6..9c2a63c81 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, " ")) -- cgit v1.2.3-54-g00ecf