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

Fix test failure when version is exactly 3.2 #4106

Merged

Conversation

deivid-rodriguez
Copy link
Member

What was the end-user or developer problem that led to this PR?

In the stable branch (when version is exactly 3.2), this test fails because rubygems updater aborts early in the specific case when we are upgrading to the exact same rubygems version being run with an "already installed" message.

What is your fix for the problem, implemented in this PR?

To fix this problem, I change the test to use the earliest possible 3.2 prerelease, which is the same version that shipped the new layout and it's a past release so it should pass consistently no matter when the running rubygems release is.

Make sure the following tasks are checked

In the stable branch (when version is exactly 3.2), this test fails
because rubygems updater aborts early in the specific case when we are
upgrading to the exact same rubygems version being run with an "already
installed" message.

To fix this problem, I change the test to use the earliest possible 3.2
prerelease, which is the same version that shipped the new layout and
it's a past release so it should pass consistently no matter when the
running rubygems release is.
@deivid-rodriguez deivid-rodriguez merged commit e5c214d into master Dec 7, 2020
@deivid-rodriguez deivid-rodriguez deleted the fix_test_failure_when_version_is_exactly_3_2 branch December 7, 2020 16:03
deivid-rodriguez added a commit that referenced this pull request Dec 7, 2020
…is_exactly_3_2

Fix test failure when version is exactly 3.2

(cherry picked from commit e5c214d)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants