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

Workaround issue with rspec-mocks 3.12.0 #2337

Merged
merged 1 commit into from
Oct 27, 2022

Conversation

ivoanjo
Copy link
Member

@ivoanjo ivoanjo commented Oct 27, 2022

What does this PR do?

The same issue we ran into in #2327 is present on the newly-released rspec-mocks 3.12.0.

This PR adds a restriction on our Gemfile (only used for testing) to not use rspec-mocks 3.12.2.

Motivation

This version of rspec-mocks breaks CI for Ruby 2.7, 3.0 and 3.1 on the following tests:

  • ./spec/datadog/core/configuration_spec.rb:377 (Ruby 2.7)
  • ./spec/datadog/core_spec.rb:35 (Ruby 2.7)
  • ./spec/ddtrace/transport/http/builder_spec.rb:250 (Ruby 3.0, 3.1)

References:

Additional Notes

I have not yet reported this upstream, but wanted to first unblock our CI.

How to test the change?

Validate that CI is green.

The same issue we ran into in #2327 is present on the newly-released
rspec-mocks 3.12.0.

I have not yet reported this upstream, but want to unblock our CI.
@ivoanjo ivoanjo requested a review from a team October 27, 2022 08:15
@ivoanjo ivoanjo merged commit 277f4bb into master Oct 27, 2022
@ivoanjo ivoanjo deleted the ivoanjo/workaround-rspec-mocks-issue branch October 27, 2022 14:27
@github-actions github-actions bot added this to the 1.6.0 milestone Oct 27, 2022
@lloeki lloeki mentioned this pull request Oct 27, 2022
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