From 7c2896343b0e3de695c6ae7e1901f37b27cb054a Mon Sep 17 00:00:00 2001 From: Olivier Le Thanh Duong Date: Wed, 30 Oct 2024 12:44:20 +0100 Subject: [PATCH] Fix setup validation for test_create_instance() --- tests/supervisor/test_instance.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/tests/supervisor/test_instance.py b/tests/supervisor/test_instance.py index 6a3ffa50..1319c99c 100644 --- a/tests/supervisor/test_instance.py +++ b/tests/supervisor/test_instance.py @@ -63,8 +63,8 @@ async def test_create_instance(): # Ensure that the settings are correct and required files present. settings.setup() settings.check() - if not settings.FAKE_DATA_RUNTIME.exists(): - pytest.xfail("Test Runtime not setup. run `cd runtimes/aleph-debian-12-python && sudo ./create_disk_image.sh`") + if not settings.FAKE_INSTANCE_BASE.exists(): + pytest.xfail("Test Runtime not setup. run `cd runtimes/instance-rootfs && sudo ./create-debian-12-disk.sh`") # The database is required for the metrics and is currently not optional. engine = metrics.setup_engine()