summaryrefslogtreecommitdiff
path: root/test/e2e/run_test.go
diff options
context:
space:
mode:
authorOpenShift Merge Robot <openshift-merge-robot@users.noreply.github.com>2020-12-07 11:38:18 -0500
committerGitHub <noreply@github.com>2020-12-07 11:38:18 -0500
commitaac03d4a329580634c4c086352b1e0c4023937f4 (patch)
treeedc5bab9565113ae7f9838539dd01add00ebd157 /test/e2e/run_test.go
parent225907536f52d672284151e00e00767a9588c8fc (diff)
parent95c45773d7dbca2880152de681c81f0a2afec99b (diff)
downloadpodman-aac03d4a329580634c4c086352b1e0c4023937f4.tar.gz
podman-aac03d4a329580634c4c086352b1e0c4023937f4.tar.bz2
podman-aac03d4a329580634c4c086352b1e0c4023937f4.zip
Merge pull request #8561 from mheon/fix_gating
Do not mount sysfs as rootless in more cases
Diffstat (limited to 'test/e2e/run_test.go')
-rw-r--r--test/e2e/run_test.go2
1 files changed, 1 insertions, 1 deletions
diff --git a/test/e2e/run_test.go b/test/e2e/run_test.go
index efc125d2b..58ef9a647 100644
--- a/test/e2e/run_test.go
+++ b/test/e2e/run_test.go
@@ -1300,7 +1300,7 @@ USER mail`
It("podman run verify pids-limit", func() {
SkipIfCgroupV1("pids-limit not supported on cgroup V1")
limit := "4321"
- session := podmanTest.Podman([]string{"run", "--pids-limit", limit, "--rm", ALPINE, "cat", "/sys/fs/cgroup/pids.max"})
+ session := podmanTest.Podman([]string{"run", "--pids-limit", limit, "--net=none", "--rm", ALPINE, "cat", "/sys/fs/cgroup/pids.max"})
session.WaitWithDefaultTimeout()
Expect(session.ExitCode()).To(Equal(0))
Expect(session.OutputToString()).To(ContainSubstring(limit))