Ensure Puma runs in 0:1 configuration #40116
Closed
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.
Summary
Ensure Puma always runs in
0:1
configuration when running feature specs.Other Information
#28083
#30712
#30638
It seems at some point Rails was told to point to the default Puma server config baked into Capybara, but that never enforced the required
0:1
Puma thread config that's necessary for transactional fixtures.#30638 (comment)
This comment above gets at the issue.
@eileencodes and @twalpole have context here, @eileencodes I see you have done a lot of work since then on DB connection sharing for Rails 6. Unsure what the correct configuration is now.