test: add SIGTERM delay tests for shell, Java, and Go processes#160
Closed
vlsi wants to merge 1 commit intoNetcracker:mainfrom
Closed
test: add SIGTERM delay tests for shell, Java, and Go processes#160vlsi wants to merge 1 commit intoNetcracker:mainfrom
vlsi wants to merge 1 commit intoNetcracker:mainfrom
Conversation
Member
|
@vlsi I'm curious, why not just extend existing test for signal propagation https://github.com/Netcracker/qubership-core-base-images/tree/main/tests/signal-propagation? |
Contributor
Author
Do you still think it is worth merging the tests? Frankly, I am leaning towards keeping two independent tests as they would be easier to review/understand/maintain/drop in the future. |
Verify that the entrypoint's SIGTERM_EXIT_DELAY mechanism works correctly by asserting console output rather than wall-clock timing. Each child process prints a "delayed message" after 5 seconds; with delay=0 the message is absent (child killed before printing), with delay=8 it is present (child alive during the delay window). Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
23c79da to
f7fbc29
Compare
This comment was marked as off-topic.
This comment was marked as off-topic.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to subscribe to this conversation on GitHub.
Already have an account?
Sign in.
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Verify that the entrypoint's
SIGTERM_EXIT_DELAYmechanism works correctly by asserting console output.Each child process prints a "delayed message" after 5 seconds;