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: race condition in test_posix.TestProcess.test_cmdline #2153

Merged
merged 1 commit into from
Oct 8, 2022

Conversation

mayeut
Copy link
Contributor

@mayeut mayeut commented Oct 8, 2022

Summary

  • OS: macOS
  • Bug fix: yes
  • Type: tests
  • Fixes:

Description

On macOS the official python installer exposes a python wrapper that executes a python executable hidden inside an application bundle inside the Python framework.

There's a race condition in in test_posix.TestProcess.test_cmdline between the ps call & the psutil call depending on the completion of the execve call so let's retry on failure for this test.

On macOS the official python installer exposes a python wrapper that
executes a python executable hidden inside an application bundle inside
the Python framework.

There's a race condition in in test_posix.TestProcess.test_cmdline between
the ps call & the psutil call depending on the completion of the execve
call so let's retry on failure for this test.

Signed-off-by: mayeut <[email protected]>
@giampaolo giampaolo merged commit 0707c16 into giampaolo:master Oct 8, 2022
@mayeut mayeut deleted the fix-test-cmdline-rc branch October 8, 2022 09:23
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.

2 participants