Skip to content

Commit 1cda65c

Browse files
author
Thomas Hipp
committed
tests: add missing cgroups_kmem requirement
Since the defined config.json contains kmem settings, the test will try writing to memory.kmem.* and fail. Therefore, it needs to require cgroups_kmem. Signed-off-by: Thomas Hipp <[email protected]>
1 parent c9b649d commit 1cda65c

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

tests/integration/update.bats

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -260,7 +260,7 @@ EOF
260260

261261
@test "update rt period and runtime" {
262262
[[ "$ROOTLESS" -ne 0 ]] && requires rootless_cgroup
263-
requires cgroups_rt
263+
requires cgroups_kmem cgroups_rt
264264

265265
# run a detached busybox
266266
runc run -d --console-socket $CONSOLE_SOCKET test_update_rt

0 commit comments

Comments
 (0)