vars: add test for deployment

This commit is contained in:
DavHau
2024-08-04 15:25:15 +07:00
parent c2d8f6c726
commit 6892202bf2
4 changed files with 51 additions and 5 deletions

View File

@@ -46,7 +46,7 @@ def wait_vm_up(machine_name: str, flake_url: str | None = None) -> None:
if flake_url is None:
flake_url = str(Path.cwd())
socket_file = vm_state_dir(flake_url, machine_name) / "qmp.sock"
timeout: float = 100
timeout: float = 600
while True:
if timeout <= 0:
raise TimeoutError(