Revert "clan-cli: deprecate nix_shell() in favor of run_cmd()"
This reverts commit 37e6ca7a30.
This commit is contained in:
@@ -40,7 +40,6 @@ def run_vm_in_thread(machine_name: str) -> None:
|
||||
# wait for qmp socket to exist
|
||||
def wait_vm_up(state_dir: Path) -> None:
|
||||
socket_file = state_dir / "qga.sock"
|
||||
# don't lower this value -> trouble if test machine is slow
|
||||
timeout: float = 100
|
||||
while True:
|
||||
if timeout <= 0:
|
||||
@@ -56,8 +55,7 @@ def wait_vm_up(state_dir: Path) -> None:
|
||||
# wait for vm to be down by checking if qga socket is down
|
||||
def wait_vm_down(state_dir: Path) -> None:
|
||||
socket_file = state_dir / "qga.sock"
|
||||
# don't lower this value -> trouble if test machine is slow
|
||||
timeout: float = 100
|
||||
timeout: float = 300
|
||||
while socket_file.exists():
|
||||
if timeout <= 0:
|
||||
raise TimeoutError(
|
||||
|
||||
Reference in New Issue
Block a user