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

Refactor Puma spec helper methods #964

Merged
merged 1 commit into from May 3, 2023
Merged

Refactor Puma spec helper methods #964

merged 1 commit into from May 3, 2023

Conversation

tombruijn
Copy link
Member

Collect all the Puma plugin state management in the run_plugin help, rather than spread it around the before and after blocks, and let-statements. This is the result of an attempt to make the test less fragile/brittle as it fails every once in a while on CI.

Moving everything in the same helper, we're sure what needs to happen before each start and stop of the plugin and we're sure it always executes, even on failure.

[skip changeset]

Collect all the Puma plugin state management in the `run_plugin` help,
rather than spread it around the before and after blocks, and
let-statements. This is the result of an attempt to make the test less
fragile/brittle as it fails every once in a while on CI.

Moving everything in the same helper, we're sure what needs to happen
before each start and stop of the plugin and we're sure it always
executes, even on failure.

[skip changeset]
@tombruijn tombruijn merged commit efc7bf5 into main May 3, 2023
11 of 12 checks passed
@tombruijn tombruijn deleted the puma-spec-refactor branch July 31, 2023 09:30
@tombruijn tombruijn restored the puma-spec-refactor branch July 31, 2023 09:30
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