diff options
author | OpenShift Merge Robot <openshift-merge-robot@users.noreply.github.com> | 2021-11-16 14:53:40 +0100 |
---|---|---|
committer | GitHub <noreply@github.com> | 2021-11-16 14:53:40 +0100 |
commit | 8430ffc72e74f1271174984674a1c2ee6118779e (patch) | |
tree | a3c0542f0f8b218a55172177ae1a3497043f90f4 /libpod/network/cni/config_test.go | |
parent | be681ab5189dea3eef73082d0b494699072e66aa (diff) | |
parent | 295d87bb0b028e57dc2739791dee4820fe5fcc48 (diff) | |
download | podman-8430ffc72e74f1271174984674a1c2ee6118779e.tar.gz podman-8430ffc72e74f1271174984674a1c2ee6118779e.tar.bz2 podman-8430ffc72e74f1271174984674a1c2ee6118779e.zip |
Merge pull request #12283 from Luap99/machine-ports
podman machine improve port forwarding
Diffstat (limited to 'libpod/network/cni/config_test.go')
-rw-r--r-- | libpod/network/cni/config_test.go | 13 |
1 files changed, 0 insertions, 13 deletions
diff --git a/libpod/network/cni/config_test.go b/libpod/network/cni/config_test.go index 0dfc6173c..c2e5fc985 100644 --- a/libpod/network/cni/config_test.go +++ b/libpod/network/cni/config_test.go @@ -965,19 +965,6 @@ var _ = Describe("Config", func() { Expect(logString).To(ContainSubstring("dnsname and internal networks are incompatible")) }) - It("create config with podman machine plugin", func() { - libpodNet, err := getNetworkInterface(cniConfDir, true) - Expect(err).To(BeNil()) - - network := types.Network{} - network1, err := libpodNet.NetworkCreate(network) - Expect(err).To(BeNil()) - Expect(network1.Driver).To(Equal("bridge")) - path := filepath.Join(cniConfDir, network1.Name+".conflist") - Expect(path).To(BeARegularFile()) - grepInFile(path, `"type": "podman-machine",`) - }) - It("network inspect partial ID", func() { network := types.Network{Name: "net4"} network1, err := libpodNet.NetworkCreate(network) |