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

test: Fix Sinatra Tests #1253

Merged
merged 3 commits into from
Nov 19, 2024

Conversation

arielvalentin
Copy link
Collaborator

Sinatra 4.1 now includes a stricter host authorization check by default, which caused our tests to fail.

The host authorization is not enforced in development and test mode so this PR sets the Sinatra environment to run in test mode.

See: sinatra/sinatra#2053

fixes #1252

Sinatra 4.1 now includes a stricter host authorization check by default, which caused our tests to fail.

The host authorization is not enforced in development and test mode so this PR sets the Sinatra environment to run in `test` mode.

See: sinatra/sinatra#2053

fixes open-telemetry#1252
Copy link
Contributor

@hannahramadan hannahramadan left a comment

Choose a reason for hiding this comment

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

Nice! New Relic saw this issue too. Fun tidying of Appraisals code

@kaylareopelle kaylareopelle merged commit c28588e into open-telemetry:main Nov 19, 2024
57 checks passed
@arielvalentin arielvalentin deleted the fix-sinatra-4.1 branch November 19, 2024 16:41
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.

Fix Sinatra 4.1 Test Suite
3 participants