diff --git a/tests/test_subprocess_executor.py b/tests/test_subprocess_executor.py index a214ecfb..18554c24 100644 --- a/tests/test_subprocess_executor.py +++ b/tests/test_subprocess_executor.py @@ -55,8 +55,8 @@ def test_shell_executor(self): with SubprocessExecutor(max_workers=2) as exe: f_1 = exe.submit(["echo", "test_1"], universal_newlines=True) f_2 = exe.submit(["echo", "test_2"], universal_newlines=True) - f_3 = exe.submit(["sleep", "1", "&&", "echo", "test_3"], universal_newlines=True) - f_4 = exe.submit(["sleep", "1", "&&", "echo", "test_4"], universal_newlines=True) + f_3 = exe.submit(["sleep", "1;", "echo", "test_3"], universal_newlines=True) + f_4 = exe.submit(["sleep", "1;", "echo", "test_4"], universal_newlines=True) self.assertFalse(f_1.done()) self.assertFalse(f_2.done()) self.assertFalse(f_3.done())