summaryrefslogtreecommitdiff
path: root/test/e2e/create_staticip_test.go
diff options
context:
space:
mode:
authorDaniel J Walsh <dwalsh@redhat.com>2020-09-28 09:17:27 -0400
committerDaniel J Walsh <dwalsh@redhat.com>2020-09-29 16:01:26 -0400
commitb496802413aecf95b0d2786cb6e13618b388a406 (patch)
tree1d48d952e8dff642ab5db1edbc9d30a4da4fbef5 /test/e2e/create_staticip_test.go
parent453333a35cc791e9031e5d24e0ac5e76a2b2aa75 (diff)
downloadpodman-b496802413aecf95b0d2786cb6e13618b388a406.tar.gz
podman-b496802413aecf95b0d2786cb6e13618b388a406.tar.bz2
podman-b496802413aecf95b0d2786cb6e13618b388a406.zip
Make all Skips specify a reason
Always use CGROUPV2 rather then reading from system all the time. Signed-off-by: Daniel J Walsh <dwalsh@redhat.com>
Diffstat (limited to 'test/e2e/create_staticip_test.go')
-rw-r--r--test/e2e/create_staticip_test.go4
1 files changed, 2 insertions, 2 deletions
diff --git a/test/e2e/create_staticip_test.go b/test/e2e/create_staticip_test.go
index 57d1c3f2c..7a2267617 100644
--- a/test/e2e/create_staticip_test.go
+++ b/test/e2e/create_staticip_test.go
@@ -49,7 +49,7 @@ var _ = Describe("Podman create with --ip flag", func() {
})
It("Podman create --ip with non-allocatable IP", func() {
- SkipIfRootless() // --ip is not supported in rootless mode
+ SkipIfRootless("--ip is not supported in rootless mode")
result := podmanTest.Podman([]string{"create", "--name", "test", "--ip", "203.0.113.124", ALPINE, "ls"})
result.WaitWithDefaultTimeout()
Expect(result.ExitCode()).To(Equal(0))
@@ -81,7 +81,7 @@ var _ = Describe("Podman create with --ip flag", func() {
})
It("Podman create two containers with the same IP", func() {
- SkipIfRootless() // --ip not supported in rootless mode
+ SkipIfRootless("--ip not supported in rootless mode")
ip := GetRandomIPAddress()
result := podmanTest.Podman([]string{"create", "--name", "test1", "--ip", ip, ALPINE, "sleep", "999"})
result.WaitWithDefaultTimeout()