summaryrefslogtreecommitdiff
path: root/libpod/network/cni/config_test.go
diff options
context:
space:
mode:
authorOpenShift Merge Robot <openshift-merge-robot@users.noreply.github.com>2021-11-16 14:53:40 +0100
committerGitHub <noreply@github.com>2021-11-16 14:53:40 +0100
commit8430ffc72e74f1271174984674a1c2ee6118779e (patch)
treea3c0542f0f8b218a55172177ae1a3497043f90f4 /libpod/network/cni/config_test.go
parentbe681ab5189dea3eef73082d0b494699072e66aa (diff)
parent295d87bb0b028e57dc2739791dee4820fe5fcc48 (diff)
downloadpodman-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.go13
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)