mirror of
https://github.com/opencontainers/runc.git
synced 2026-07-11 06:03:57 +08:00
tests/int/cgroups: remove useless/wrong setting
There is no such thing as linux.resources.memorySwap (the mem+swap is
set as linux.resources.memory.swap).
As it is not used in this test anyway, remove it.
Fixes: 4929c05ad1
Signed-off-by: Kir Kolyshkin <kolyshkin@gmail.com>
This commit is contained in:
@@ -245,7 +245,6 @@ function setup() {
|
||||
set_cgroups_path
|
||||
# CPU shares of 3333 corresponds to CPU weight of 128.
|
||||
update_config ' .linux.resources.memory |= {"limit": 33554432}
|
||||
| .linux.resources.memorySwap |= {"limit": 33554432}
|
||||
| .linux.resources.cpu |= {
|
||||
"shares": 3333,
|
||||
"quota": 40000,
|
||||
|
||||
Reference in New Issue
Block a user