Skip to content

test: speed up Cucumber stop test#10032

Merged
milas merged 1 commit intodocker:v2from
milas:cucumber-stop-speedup
Dec 2, 2022
Merged

test: speed up Cucumber stop test#10032
milas merged 1 commit intodocker:v2from
milas:cucumber-stop-speedup

Conversation

@milas
Copy link
Copy Markdown
Contributor

@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 <[email protected]>
@milas milas requested review from a team and laurazard November 30, 2022 19:54
@milas milas self-assigned this Nov 30, 2022
@milas milas requested review from StefanScherer, glours, ndeloof, nicksieger and ulyssessouza 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

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants