Skip to content

Commit 995175d

Browse files
committed
Try a different command to shutdown on linux.
1 parent e86aa27 commit 995175d

1 file changed

Lines changed: 1 addition & 2 deletions

File tree

tests/tests_integration/test_ssh_setup.py

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -25,8 +25,7 @@ def setup_ssh_container(self):
2525

2626
sudo = "sudo " if platform.system() == "Linux" else ""
2727

28-
subprocess.run(f"{sudo}docker stop {container_name}", shell=True)
29-
subprocess.run(f"{sudo}rm {container_name}", shell=True)
28+
subprocess.run(f"{sudo}docker rm -f {container_name}", shell=True)
3029

3130
@pytest.fixture(scope="function")
3231
def project(test, tmp_path, setup_ssh_container):

0 commit comments

Comments
 (0)