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

chore: Fix tests by updating minitest version constraint #4115

Merged
merged 2 commits into from
Oct 2, 2019

Conversation

dazuma
Copy link
Member

@dazuma dazuma commented Oct 1, 2019

Attempt to fix the consistently failing tests (core, debugger, and logger).

  • Change the minitest dependency to ~> 5.11.3 to avoid incompatibilities in the 5.12.x series (and avoid the warnings printed by them).
  • Add an apparently missing require in one of the core tests. Not sure why this started failing suddenly; might have been an upstream change we were depending on implicitly.

Note: I updated the minitest dependency only in those three libraries for now. This is just an attempt to get tests passing. It sounds like we still want to update it in the other libraries as well (which may involve synth work for generated gemspecs), as part of the work to address #4110.

@dazuma dazuma requested a review from a team October 1, 2019 22:15
@googlebot googlebot added the cla: yes This human has signed the Contributor License Agreement. label Oct 1, 2019
@blowmage
Copy link
Contributor

blowmage commented Oct 1, 2019

What do you think about capping Minitest in the Gemfile so the dependency doesn’t have to change?

@dazuma
Copy link
Member Author

dazuma commented Oct 1, 2019

Hmm Logger still has some broken links in the generated docs. Investigating...

@dazuma
Copy link
Member Author

dazuma commented Oct 1, 2019

@blowmage Yeah, that's a good idea. Means we wouldn't have to add a synth hack for generated gemspecs. I don't think any of the Gemfiles are generated.

@dazuma
Copy link
Member Author

dazuma commented Oct 1, 2019

Yay tests pass now.

@dazuma dazuma merged commit 5b0ff8c into googleapis:master Oct 2, 2019
@dazuma dazuma deleted the tests-fix branch October 7, 2019 17:50
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
cla: yes This human has signed the Contributor License Agreement.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants