From fa8bc285c8e82d8fd89327f5877c95957a8b4c76 Mon Sep 17 00:00:00 2001 From: kxxt Date: Sat, 1 Apr 2023 13:45:32 +0800 Subject: [PATCH] Fix randomly failing test. --- tests/integration/test_execute.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tests/integration/test_execute.py b/tests/integration/test_execute.py index 09e9093..9c62941 100644 --- a/tests/integration/test_execute.py +++ b/tests/integration/test_execute.py @@ -147,7 +147,7 @@ def test_log_outputs_kills_other_processes_when_one_errors(): ['sleep', '2'], stdout=subprocess.PIPE, stderr=subprocess.STDOUT ) flexmock(module).should_receive('exit_code_indicates_error').with_args( - other_process, None, 'borg' + ['sleep', '2'], None, 'borg' ).and_return(False) flexmock(module).should_receive('output_buffer_for_process').with_args(process, ()).and_return( process.stdout