Fix errors for tests

This commit is contained in:
Adam Outler
2025-10-26 00:14:03 +00:00
parent c4a041e6e1
commit fb02774814
6 changed files with 52 additions and 9 deletions

View File

@@ -169,6 +169,7 @@ def _run_container(
extra_args: list[str] | None = None,
volume_specs: list[str] | None = None,
sleep_seconds: float = GRACE_SECONDS,
userns: str | None = "host",
) -> subprocess.CompletedProcess[str]:
name = f"netalertx-test-{label}-{uuid.uuid4().hex[:8]}".lower()
cmd: list[str] = ["docker", "run", "--rm", "--name", name]