Skip to content

chore: Fix tests by updating minitest version constraint#4115

Merged
dazuma merged 2 commits into
googleapis:masterfrom
dazuma:tests-fix
Oct 2, 2019
Merged

chore: Fix tests by updating minitest version constraint#4115
dazuma merged 2 commits into
googleapis:masterfrom
dazuma:tests-fix

Conversation

@dazuma

@dazuma dazuma commented Oct 1, 2019

Copy link
Copy Markdown
Contributor

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

blowmage commented Oct 1, 2019

Copy link
Copy Markdown
Contributor

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

@dazuma

dazuma commented Oct 1, 2019

Copy link
Copy Markdown
Contributor Author

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

@dazuma

dazuma commented Oct 1, 2019

Copy link
Copy Markdown
Contributor Author

@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

dazuma commented Oct 1, 2019

Copy link
Copy Markdown
Contributor Author

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