Skip to content

fix(cmp): send sigterm to cmp commands before sigkill to allow for potential cleanup (#9180) (cherry-pick #14955)#14958

Merged
crenshaw-dev merged 1 commit intorelease-2.8from
cherry-pick-17d1d2-release-2.8
Aug 8, 2023
Merged

fix(cmp): send sigterm to cmp commands before sigkill to allow for potential cleanup (#9180) (cherry-pick #14955)#14958
crenshaw-dev merged 1 commit intorelease-2.8from
cherry-pick-17d1d2-release-2.8

Conversation

@gcp-cherry-pick-bot
Copy link

Cherry-picked fix(cmp): send sigterm to cmp commands before sigkill to allow for potential cleanup (#9180) (#14955)

  • fix: send sigterm to cmp commands before sigkill to allow for potential cleanup

Signed-off-by: Ashin Sabu ashin.sabu@harness.io

  • fix: unit test for runCommand in cmpserver to test cleanup modified

Signed-off-by: Ashin Sabu ashin.sabu@harness.io

  • fix: change unit test for plugin/runCommand to avoid bad trap along with lint fix

Signed-off-by: Ashin Sabu ashin.sabu@harness.io


Signed-off-by: Ashin Sabu ashin.sabu@harness.io

…tential cleanup (#9180) (#14955)

* fix: send sigterm to cmp commands before sigkill to allow for potential cleanup

Signed-off-by: Ashin Sabu <ashin.sabu@harness.io>

* fix: unit test for runCommand in cmpserver to test cleanup modified

Signed-off-by: Ashin Sabu <ashin.sabu@harness.io>

* fix: change unit test for plugin/runCommand to avoid bad trap along with lint fix

Signed-off-by: Ashin Sabu <ashin.sabu@harness.io>

---------

Signed-off-by: Ashin Sabu <ashin.sabu@harness.io>
@crenshaw-dev crenshaw-dev merged commit cade0e9 into release-2.8 Aug 8, 2023
@crenshaw-dev crenshaw-dev deleted the cherry-pick-17d1d2-release-2.8 branch August 8, 2023 15:37
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