Limit memory available in integration tests

This helps us catch times where our minimum recommended
VM size (512MB?) is too little for TLJH to install or
run.

Ref #257
This commit is contained in:
yuvipanda
2019-05-19 11:33:10 -07:00
parent c0171dfdbc
commit 48c819b422

View File

@@ -29,6 +29,7 @@ def run_systemd_image(image_name, container_name):
'--mount', 'type=bind,source=/sys/fs/cgroup,target=/sys/fs/cgroup', '--mount', 'type=bind,source=/sys/fs/cgroup,target=/sys/fs/cgroup',
'--detach', '--detach',
'--name', container_name, '--name', container_name,
'--memory', '512M', # This is the minimum VM size we support
image_name image_name
]) ])