Fix randomly failing test: test_log_outputs_kills_other_processes_when_one_errors (#635).
Merge pull request #64 from kxxt/master
This commit is contained in:
commit
1412038ed3
1 changed files with 1 additions and 1 deletions
|
@ -147,7 +147,7 @@ def test_log_outputs_kills_other_processes_when_one_errors():
|
||||||
['sleep', '2'], stdout=subprocess.PIPE, stderr=subprocess.STDOUT
|
['sleep', '2'], stdout=subprocess.PIPE, stderr=subprocess.STDOUT
|
||||||
)
|
)
|
||||||
flexmock(module).should_receive('exit_code_indicates_error').with_args(
|
flexmock(module).should_receive('exit_code_indicates_error').with_args(
|
||||||
other_process, None, 'borg'
|
['sleep', '2'], None, 'borg'
|
||||||
).and_return(False)
|
).and_return(False)
|
||||||
flexmock(module).should_receive('output_buffer_for_process').with_args(process, ()).and_return(
|
flexmock(module).should_receive('output_buffer_for_process').with_args(process, ()).and_return(
|
||||||
process.stdout
|
process.stdout
|
||||||
|
|
Loading…
Reference in a new issue