Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

fix pexpect child shutdown race #1331

Merged
merged 1 commit into from
Jan 5, 2024
Merged

Conversation

nitzmahone
Copy link
Member

fixes #1330

  • ensure that any stdout data produced by the child after the last expect() call is consumed
  • add regression test

@nitzmahone nitzmahone requested a review from a team as a code owner December 5, 2023 03:56
* ensure that any stdout data produced by the child after the last `expect()` call is consumed
* add regression test
@Shrews Shrews merged commit 2097e81 into ansible:devel Jan 5, 2024
11 checks passed
TheRealHaoLiu pushed a commit to TheRealHaoLiu/ansible-runner that referenced this pull request Jan 16, 2024
* ensure that any stdout data produced by the child after the last `expect()` call is consumed
* add regression test
TheRealHaoLiu pushed a commit to TheRealHaoLiu/ansible-runner that referenced this pull request Jan 16, 2024
* ensure that any stdout data produced by the child after the last `expect()` call is consumed
* add regression test
Shrews pushed a commit that referenced this pull request Feb 13, 2024
* ensure that any stdout data produced by the child after the last `expect()` call is consumed

Co-authored-by: Matt Davis <[email protected]>
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.

pexpect stdout sampling race can cause event loss
2 participants