Skip to content

Commit

Permalink
Fix setup validation for test_create_instance()
Browse files Browse the repository at this point in the history
  • Loading branch information
olethanh committed Nov 5, 2024
1 parent 2ab7a43 commit 9c6ec9c
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions tests/supervisor/test_instance.py
Original file line number Diff line number Diff line change
Expand Up @@ -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()
Expand Down

0 comments on commit 9c6ec9c

Please sign in to comment.