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

upgrades: fix TestKeyVisualizerTablesMigration #95821

Conversation

irfansharif
Copy link
Contributor

This test started failing for commits that introduced additional version gates, like in #95748. It's because we were not overriding the binary version the server started off with (it defaults to the last added version). It failed with:

  Error Trace:	pkg/upgrade/upgrades/helpers_test.go:67
                pkg/upgrade/upgrades/helpers_test.go:50
                pkg/upgrade/upgrades/key_visualizer_migration_test.go:48
  Error:      	pq: versions cannot be downgraded (attempting to downgrade from 1000022.2-34 to 1000022.2-32)

Release note: None

This test started failing for commits that introduced additional version
gates, like in cockroachdb#95748. It's because we were not overriding the binary
version the server started off with (it defaults to the last added
version). It failed with:

  Error Trace:	pkg/upgrade/upgrades/helpers_test.go:67
                pkg/upgrade/upgrades/helpers_test.go:50
                pkg/upgrade/upgrades/key_visualizer_migration_test.go:48
  Error:      	pq: versions cannot be downgraded (attempting to downgrade from 1000022.2-34 to 1000022.2-32)

Release note: None
@irfansharif irfansharif requested review from zachlite and a team January 25, 2023 13:01
@cockroach-teamcity
Copy link
Member

This change is Reviewable

@irfansharif
Copy link
Contributor Author

Looks like Yahor beat me to it: 556cb98.

@irfansharif irfansharif deleted the 230125.fix-keyviz-upgrade-test branch January 25, 2023 21:49
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