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

Tune examples to cover some cases #453

Merged
merged 1 commit into from
Dec 5, 2022
Merged

Conversation

miry
Copy link
Contributor

@miry miry commented Dec 5, 2022

Update examples to limit expected expectations and mark lines that should not be reached.
Replaced some rescue to single errors, to not cover to many problems.
Add lines to bulkhead examples to make sure script finished with unsuccess,
if thread or fork got exception.

Extract changes from #441

@miry miry self-assigned this Dec 5, 2022
@miry miry added the Semian label Dec 5, 2022
@miry miry requested review from a team, Eagerod, neufeldtech and chopify and removed request for a team December 5, 2022 19:33
Copy link

@Eagerod Eagerod left a comment

Choose a reason for hiding this comment

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

👌🏽 Big fan of catching the specifically expected exception, rather than any.

@miry miry merged commit 21ba76e into Shopify:master Dec 5, 2022
@miry miry deleted the examples-improve branch December 5, 2022 19:52
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants