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

tests(sdk/go): kill spin subprocesses after test runs #1392

Merged
merged 1 commit into from
Apr 17, 2023

Conversation

adamreese
Copy link
Member

Spin creates a new process for executing the trigger. This change uses the group process id to kill spin, it's subprocesses, and repels zombies.

Spin creates a new process for executing the trigger.  This change uses
the group process id to kill spin, it's subprocesses, and repels zombies.

Signed-off-by: Adam Reese <adam@reese.io>
Copy link
Contributor

@itowlson itowlson left a comment

Choose a reason for hiding this comment

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

#badunixsyscallattitude

@adamreese adamreese merged commit 3d20ffd into fermyon:main Apr 17, 2023
@adamreese adamreese deleted the tests/kill-spin-subproesses branch April 17, 2023 23:00
@adamreese adamreese restored the tests/kill-spin-subproesses branch April 20, 2023 02:22
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
Status: Done
Development

Successfully merging this pull request may close these issues.

2 participants