summaryrefslogtreecommitdiff
path: root/test/e2e
diff options
context:
space:
mode:
authorPaul Holzinger <pholzing@redhat.com>2021-08-27 14:55:26 +0200
committerPaul Holzinger <pholzing@redhat.com>2021-09-15 20:00:28 +0200
commit1bcd006c5fffe41a36cc6fdc17623a90693f3cab (patch)
treef56f7b274c7294f3d5739c7376073808db8904b1 /test/e2e
parentb906b9d8581c6fe745509e386c5324d9c76b8801 (diff)
downloadpodman-1bcd006c5fffe41a36cc6fdc17623a90693f3cab.tar.gz
podman-1bcd006c5fffe41a36cc6fdc17623a90693f3cab.tar.bz2
podman-1bcd006c5fffe41a36cc6fdc17623a90693f3cab.zip
CI: load ipv6 kernel modules for rootless tests
Rootless cni with ipv6 needs the `ip6_tables` module loaded, normally the cni plugins will load this module but as rootless it does not have the necessary permission to do so. Therefore we load it manually. Signed-off-by: Paul Holzinger <pholzing@redhat.com>
Diffstat (limited to 'test/e2e')
-rw-r--r--test/e2e/network_create_test.go3
1 files changed, 0 insertions, 3 deletions
diff --git a/test/e2e/network_create_test.go b/test/e2e/network_create_test.go
index 585f52b8a..d419a701d 100644
--- a/test/e2e/network_create_test.go
+++ b/test/e2e/network_create_test.go
@@ -81,7 +81,6 @@ var _ = Describe("Podman network create", func() {
})
It("podman network create with name and IPv6 subnet", func() {
- SkipIfRootless("FIXME It needs the ip6tables modules loaded")
netName := "ipv6-" + stringid.GenerateNonCryptoID()
nc := podmanTest.Podman([]string{"network", "create", "--subnet", "fd00:1:2:3:4::/64", netName})
nc.WaitWithDefaultTimeout()
@@ -121,7 +120,6 @@ var _ = Describe("Podman network create", func() {
})
It("podman network create with name and IPv6 flag (dual-stack)", func() {
- SkipIfRootless("FIXME It needs the ip6tables modules loaded")
netName := "dual-" + stringid.GenerateNonCryptoID()
nc := podmanTest.Podman([]string{"network", "create", "--subnet", "fd00:4:3:2::/64", "--ipv6", netName})
nc.WaitWithDefaultTimeout()
@@ -275,7 +273,6 @@ var _ = Describe("Podman network create", func() {
})
It("podman network create two IPv6 networks with same subnet should fail", func() {
- SkipIfRootless("FIXME It needs the ip6tables modules loaded")
netName1 := "subipv61-" + stringid.GenerateNonCryptoID()
nc := podmanTest.Podman([]string{"network", "create", "--subnet", "fd00:4:4:4:4::/64", "--ipv6", netName1})
nc.WaitWithDefaultTimeout()