Skip to content

Commit df25d7c

Browse files
authored
Merge pull request #4895 from rata/64k-alignment-v1.3
[1.3] tests/int/cgroups: Use 64K aligned limits for memory.max
2 parents 799d52d + 6fb8054 commit df25d7c

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

tests/integration/cgroups.bats

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -337,7 +337,7 @@ convert_hugetlb_size() {
337337

338338
set_cgroups_path
339339
update_config ' .linux.resources.unified |= {
340-
"memory.max": "20484096",
340+
"memory.max": "20512768",
341341
"memory.swap.max": "20971520"
342342
}'
343343

@@ -348,10 +348,10 @@ convert_hugetlb_size() {
348348
[ "$status" -eq 0 ]
349349
echo "$output"
350350

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

354-
check_systemd_value "MemoryMax" 20484096
354+
check_systemd_value "MemoryMax" 20512768
355355
check_systemd_value "MemorySwapMax" 20971520
356356
}
357357

0 commit comments

Comments
 (0)