Skip to content
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 1 addition & 5 deletions lib/container-test-driver/test_driver/driver.py
Original file line number Diff line number Diff line change
Expand Up @@ -154,12 +154,8 @@ def start_all(self) -> None:
for machine in self.machines:
nspawn_uuid = uuid.uuid4()

sleep = shutil.which("sleep")
if sleep is None:
msg = "sleep command not found"
raise RuntimeError(msg)
machine.execute(
f"systemd-run /bin/sh -c '{sleep} 999999999 && echo {nspawn_uuid}'",
f"systemd-run /bin/sh -c 'sleep 999999999 && echo {nspawn_uuid}'",
)

print(
Expand Down