Skip to content

Conversation

penguinolog
Copy link
Collaborator

Found several use-cases, when non-blocking pipes can cause data loose.

In tests not checking mised stdout/stderr because of expected
race condition during log output.

  • I think the code is well written
  • Unit tests for the changes exist

Copy link

@rayburgemeestre rayburgemeestre left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Really like how the code is simplified now

@penguinolog penguinolog merged commit f98d3b4 into python-useful-helpers:master Aug 10, 2018
@penguinolog penguinolog deleted the subprocess_block_pipes branch August 10, 2018 12:16
@coveralls
Copy link
Collaborator

Pull Request Test Coverage Report for Build 172

  • 22 of 23 (95.65%) changed or added relevant lines in 1 file are covered.
  • No unchanged relevant lines lost coverage.
  • Overall coverage decreased (-0.1%) to 99.892%

Changes Missing Coverage Covered Lines Changed/Added Lines %
exec_helpers/subprocess_runner.py 22 23 95.65%
Totals Coverage Status
Change from base Build 170: -0.1%
Covered Lines: 924
Relevant Lines: 925

💛 - Coveralls

Found several use-cases, when non-blocking pipes can cause data loose.

In tests not checking mised stdout/stderr because of expected
race condition during log output.

Signed-off-by: Alexey Stepanov <penguinolog@gmail.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants