Skip to content

test/rackup/ci_*.ru files - fix frozen string issue#2951

Merged
MSP-Greg merged 1 commit intopuma:masterfrom
MSP-Greg:00-bench-local-dup
Sep 12, 2022
Merged

test/rackup/ci_*.ru files - fix frozen string issue#2951
MSP-Greg merged 1 commit intopuma:masterfrom
MSP-Greg:00-bench-local-dup

Conversation

@MSP-Greg
Copy link
Copy Markdown
Member

@MSP-Greg MSP-Greg commented Sep 12, 2022

Description

Interesting problem. Ruby 3 doesn't throw a 'frozen string' error, but Ruby 2.7 does. Fixed.

Your checklist for this pull request

  • I have reviewed the guidelines for contributing to this repository.
  • I have added (or updated) appropriate tests if this PR fixes a bug or adds a feature.
  • My pull request is 100 lines added/removed or less so that it can be easily reviewed.
  • If this PR doesn't need tests (docs change), I added [ci skip] to the title of the PR.
  • If this closes any issues, I have added "Closes #issue" to the PR description or my commit messages.
  • I have updated the documentation accordingly.
  • All new and existing tests passed, including Rubocop.

@dentarg
Copy link
Copy Markdown
Member

dentarg commented Sep 12, 2022

Has it failed in CI? Do you have a link?

@MSP-Greg
Copy link
Copy Markdown
Member Author

MSP-Greg commented Sep 12, 2022

None of the new rackup files are used in CI. they're used in the files added in benchmarks/local files.

The error happened when testing PR #2896 with Ruby 2.7. Locally, I mostly test with Ruby master.

@MSP-Greg MSP-Greg changed the title [CI] test/rackup/ci_*.ru - fix frozen string issue test/rackup/ci_*.ru files - fix frozen string issue Sep 12, 2022
@MSP-Greg MSP-Greg merged commit 5dbb75c into puma:master Sep 12, 2022
@MSP-Greg MSP-Greg deleted the 00-bench-local-dup branch September 12, 2022 23:16
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