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

test: speed up Cucumber stop test #10032

Merged
merged 1 commit into from Dec 2, 2022
Merged

Conversation

milas
Copy link
Member

@milas milas commented Nov 30, 2022

What I did
Evidently ping doesn't respond to SIGTERM, so use init to get Tini supervising it. This changes the exit code to 143 since it's not hitting the 10s timeout and getting a SIGKILL (137).

Related issue
N/A

(not mandatory) A picture of a cute animal, if possible in relation to what you did
roadrunner bird with a lizard in its mouth

Evidently `ping` doesn't respond to `SIGTERM`, so use `init` to
get Tini supervising it. This changes the exit code to 143 since
it's not hitting the 10s timeout and getting a `SIGKILL` (137).

Signed-off-by: Milas Bowman <milas.bowman@docker.com>
@milas milas requested review from laurazard and a team November 30, 2022 19:54
@milas milas self-assigned this Nov 30, 2022
@milas milas requested review from nicksieger, ndeloof, StefanScherer, ulyssessouza and glours and removed request for a team November 30, 2022 19:54
@milas milas merged commit b9e5f9e into docker:v2 Dec 2, 2022
@milas milas deleted the cucumber-stop-speedup branch December 2, 2022 14:34
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants