mirror of
https://github.com/jupyterhub/the-littlest-jupyterhub.git
synced 2025-12-18 21:54:05 +08:00
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:
@@ -29,6 +29,7 @@ def run_systemd_image(image_name, container_name):
|
||||
'--mount', 'type=bind,source=/sys/fs/cgroup,target=/sys/fs/cgroup',
|
||||
'--detach',
|
||||
'--name', container_name,
|
||||
'--memory', '512M', # This is the minimum VM size we support
|
||||
image_name
|
||||
])
|
||||
|
||||
|
||||
Reference in New Issue
Block a user