diff options
author | OpenShift Merge Robot <openshift-merge-robot@users.noreply.github.com> | 2020-11-28 20:32:26 +0100 |
---|---|---|
committer | GitHub <noreply@github.com> | 2020-11-28 20:32:26 +0100 |
commit | 8b2c0a4fa3f85ec27f1460fa9fe4b3b1313b901a (patch) | |
tree | 7b2db7eb721c13b8f1258965ba1907a98fdce755 /test | |
parent | f0d48aadb07fb3082c28213ae66ce57df7389138 (diff) | |
parent | 2f7bca0685c611d118db98f4c1a5f06370a9e286 (diff) | |
download | podman-8b2c0a4fa3f85ec27f1460fa9fe4b3b1313b901a.tar.gz podman-8b2c0a4fa3f85ec27f1460fa9fe4b3b1313b901a.tar.bz2 podman-8b2c0a4fa3f85ec27f1460fa9fe4b3b1313b901a.zip |
Merge pull request #8493 from Luap99/net-rm-macvlan
Fix problems with network remove
Diffstat (limited to 'test')
-rw-r--r-- | test/e2e/network_test.go | 11 |
1 files changed, 11 insertions, 0 deletions
diff --git a/test/e2e/network_test.go b/test/e2e/network_test.go index 139a90ac7..adcf74f7e 100644 --- a/test/e2e/network_test.go +++ b/test/e2e/network_test.go @@ -499,4 +499,15 @@ var _ = Describe("Podman network", func() { exec.WaitWithDefaultTimeout() Expect(exec.ExitCode()).To(BeZero()) }) + + It("podman network create/remove macvlan", func() { + net := "macvlan" + stringid.GenerateNonCryptoID() + nc := podmanTest.Podman([]string{"network", "create", "--macvlan", "lo", net}) + nc.WaitWithDefaultTimeout() + Expect(nc.ExitCode()).To(Equal(0)) + + nc = podmanTest.Podman([]string{"network", "rm", net}) + nc.WaitWithDefaultTimeout() + Expect(nc.ExitCode()).To(Equal(0)) + }) }) |