summaryrefslogtreecommitdiffhomepage
path: root/test
diff options
context:
space:
mode:
authorFabricio Voznika <fvoznika@google.com>2020-04-24 18:15:26 -0700
committergVisor bot <gvisor-bot@google.com>2020-04-24 18:17:01 -0700
commit4af39dd1c522f7852312ecbfd3678892fc656322 (patch)
treeaf7b8696587367c2f628fd63000f1ae9ead2d603 /test
parent10725475c3d3b130b5ea516da6fcbb0b6119a6ac (diff)
Propagate PID limit from OCI to sandbox cgroup
Closes #2489 PiperOrigin-RevId: 308362434
Diffstat (limited to 'test')
-rw-r--r--test/root/cgroup_test.go6
1 files changed, 6 insertions, 0 deletions
diff --git a/test/root/cgroup_test.go b/test/root/cgroup_test.go
index 8876d0d61..d0634b5c3 100644
--- a/test/root/cgroup_test.go
+++ b/test/root/cgroup_test.go
@@ -199,6 +199,12 @@ func TestCgroup(t *testing.T) {
want: "750",
skipIfNotFound: true, // blkio groups may not be available.
},
+ {
+ arg: "--pids-limit=1000",
+ ctrl: "pids",
+ file: "pids.max",
+ want: "1000",
+ },
}
args := make([]string, 0, len(attrs))