Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 3 additions & 3 deletions tests/integration/cgroups.bats
Original file line number Diff line number Diff line change
Expand Up @@ -362,7 +362,7 @@ convert_hugetlb_size() {

set_cgroups_path
update_config ' .linux.resources.unified |= {
"memory.max": "20484096",
"memory.max": "20512768",
"memory.swap.max": "20971520"
}'

Expand All @@ -373,10 +373,10 @@ convert_hugetlb_size() {
[ "$status" -eq 0 ]
echo "$output"

echo "$output" | grep -q '^memory.max:20484096$'
echo "$output" | grep -q '^memory.max:20512768$'
echo "$output" | grep -q '^memory.swap.max:20971520$'

check_systemd_value "MemoryMax" 20484096
check_systemd_value "MemoryMax" 20512768
check_systemd_value "MemorySwapMax" 20971520
}

Expand Down
Loading