diff --git a/st2common/tests/integration/test_util_green.py b/st2common/tests/integration/test_util_green.py index cb5cfa2c0c..a8cd5021b9 100644 --- a/st2common/tests/integration/test_util_green.py +++ b/st2common/tests/integration/test_util_green.py @@ -153,6 +153,7 @@ def mock_read_stderr(process_stderr, stderr_buffer): exit_code, stdout, stderr, timed_out = run_command( cmd=[script_path], + cwd=os.getcwd(), preexec_func=os.setsid, timeout=3, read_stdout_func=mock_read_stdout,