summaryrefslogtreecommitdiff
path: root/test
diff options
context:
space:
mode:
authorFrantisek Sumsal <frantisek@sumsal.cz>2022-08-25 14:52:30 +0200
committerFrantisek Sumsal <frantisek@sumsal.cz>2022-08-26 15:40:34 +0200
commit6a9c4977683a30fcd36baf64e35255e9846028c6 (patch)
treece44908525386b84a80e25c52aedbfb6edfdd7c1 /test
parentb307c227579976ea70a220265e7954d76944ca78 (diff)
downloadsystemd-6a9c4977683a30fcd36baf64e35255e9846028c6.tar.gz
test: bump the base VM memory to 768M
as with 512M some tests occasionally trip off OOM-killer (e.g. TEST-64 + multipath).
Diffstat (limited to 'test')
-rwxr-xr-xtest/TEST-36-NUMAPOLICY/test.sh2
-rw-r--r--test/test-functions2
2 files changed, 2 insertions, 2 deletions
diff --git a/test/TEST-36-NUMAPOLICY/test.sh b/test/TEST-36-NUMAPOLICY/test.sh
index 7909b1dce3..a0bfd4079a 100755
--- a/test/TEST-36-NUMAPOLICY/test.sh
+++ b/test/TEST-36-NUMAPOLICY/test.sh
@@ -9,7 +9,7 @@ TEST_NO_NSPAWN=1
. "${TEST_BASE_DIR:?}/test-functions"
if qemu_min_version "5.2.0"; then
- QEMU_OPTIONS="-object memory-backend-ram,id=mem0,size=${QEMU_MEM:-512M} -numa node,memdev=mem0,nodeid=0"
+ QEMU_OPTIONS="-object memory-backend-ram,id=mem0,size=${QEMU_MEM:-768M} -numa node,memdev=mem0,nodeid=0"
else
QEMU_OPTIONS="-numa node,nodeid=0"
fi
diff --git a/test/test-functions b/test/test-functions
index 14344a4d1e..359eb90314 100644
--- a/test/test-functions
+++ b/test/test-functions
@@ -483,7 +483,7 @@ run_qemu() {
qemu_options+=(
-smp "$QEMU_SMP"
-net none
- -m "${QEMU_MEM:-512M}"
+ -m "${QEMU_MEM:-768M}"
-nographic
-kernel "$KERNEL_BIN"
-drive "format=raw,cache=unsafe,file=$image"