Skip to content

Improve reliability of testSuspendResumeProcess #102

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

Merged
merged 1 commit into from
Jun 30, 2025

Conversation

jakepetroules
Copy link
Contributor

It's valid for a process to end up in a sleep state between transitions, so don't fail the test in that case. Only fail if the process prematurely transitions to a zombie state, which means it unexpectedly exited. This fixes an issue where testSuspendResumeProcess sometimes nondeterministically fails when the process transitions to a sleep state after resuming from stopped.

It's valid for a process to end up in a sleep state between transitions, so don't fail the test in that case. Only fail if the process prematurely transitions to a zombie state, which means it unexpectedly exited. This fixes an issue where testSuspendResumeProcess sometimes nondeterministically fails when the process transitions to a sleep state after resuming from stopped.
@jakepetroules jakepetroules requested a review from owenv June 30, 2025 03:12
@jakepetroules jakepetroules merged commit 0e853a9 into main Jun 30, 2025
21 checks passed
@jakepetroules jakepetroules deleted the eng/PR-testSuspendResumeProcess-reliability branch June 30, 2025 22:41
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