summaryrefslogtreecommitdiff
path: root/test/e2e/create_staticmac_test.go
diff options
context:
space:
mode:
authorOpenShift Merge Robot <openshift-merge-robot@users.noreply.github.com>2021-01-28 04:58:28 -0500
committerGitHub <noreply@github.com>2021-01-28 04:58:28 -0500
commitfb653c43ed1eb9eb9b97ca80edb8df6caab88905 (patch)
tree54e861b691d68f3f2c6b32ad00d57455dc2b9a39 /test/e2e/create_staticmac_test.go
parent9d59daa7ccaea526a1aa742fadab537e77a51330 (diff)
parent1fac43654cf2ec950a2b3221e27425dbcd3bbf4d (diff)
downloadpodman-fb653c43ed1eb9eb9b97ca80edb8df6caab88905.tar.gz
podman-fb653c43ed1eb9eb9b97ca80edb8df6caab88905.tar.bz2
podman-fb653c43ed1eb9eb9b97ca80edb8df6caab88905.zip
Merge pull request #8585 from Luap99/rootless-net-alias
Add support for rootless network-aliases and static ip/mac
Diffstat (limited to 'test/e2e/create_staticmac_test.go')
-rw-r--r--test/e2e/create_staticmac_test.go8
1 files changed, 2 insertions, 6 deletions
diff --git a/test/e2e/create_staticmac_test.go b/test/e2e/create_staticmac_test.go
index 1ac431da2..4c8f371a4 100644
--- a/test/e2e/create_staticmac_test.go
+++ b/test/e2e/create_staticmac_test.go
@@ -56,11 +56,7 @@ var _ = Describe("Podman run with --mac-address flag", func() {
result := podmanTest.Podman([]string{"run", "--network", net, "--mac-address", "92:d0:c6:00:29:34", ALPINE, "ip", "addr"})
result.WaitWithDefaultTimeout()
- if rootless.IsRootless() {
- Expect(result.ExitCode()).To(Equal(125))
- } else {
- Expect(result.ExitCode()).To(Equal(0))
- Expect(result.OutputToString()).To(ContainSubstring("92:d0:c6:00:29:34"))
- }
+ Expect(result.ExitCode()).To(Equal(0))
+ Expect(result.OutputToString()).To(ContainSubstring("92:d0:c6:00:29:34"))
})
})