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

Flaky test due to process creation #1213

Closed
2e0byo opened this issue Jan 13, 2022 · 1 comment · Fixed by #1214
Closed

Flaky test due to process creation #1213

2e0byo opened this issue Jan 13, 2022 · 1 comment · Fixed by #1214

Comments

@2e0byo
Copy link
Contributor

2e0byo commented Jan 13, 2022

On my system at least test_tools fails on test_processCmdline.

Adding a breakpoint just before the assertion causes the problem to go away, as does adding a sleep(0.1) to createProcess before returning the pid. Moving the call to tools.processCmdline before the breakpoint shows it returns an empty string unless a short delay is introduced.

I'm not sure if this problem is widespread enough to be important, but I'll add a trivial PR anyway.

@Germar
Copy link
Member

Germar commented Mar 14, 2022

Thanks @2e0byo

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 a pull request may close this issue.

2 participants