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

cli: remove useless test skip #92138

Merged
merged 1 commit into from
Nov 18, 2022

Conversation

andreimatei
Copy link
Contributor

We had code protecting us against a cli test attempting to start a tenant but discovering that the binary does not have enough ccl code linked in to do that. The code was silently skipping the test in this case. This code is no longer necessary because no test hits it. When it was introduced, I think there was a ccl test hitting it, but I believe that went away in #88338. This patch removes the protection.

This patch is part of a larger effort to remove such silent skipping.

Release note: None
Epic: None

@andreimatei andreimatei requested a review from a team as a code owner November 18, 2022 17:13
@cockroach-teamcity
Copy link
Member

This change is Reviewable

We had code protecting us against a cli test attempting to start a
tenant but discovering that the binary does not have enough ccl code
linked in to do that. The code was silently skipping the test in this
case. This code is no longer necessary because no test hits it. When it
was introduced, I think there was a ccl test hitting it, but I believe
that went away in cockroachdb#88338. This patch removes the protection.

This patch is part of a larger effort to remove such silent skipping.

Release note: None
Epic: None
Copy link
Collaborator

@ajstorm ajstorm left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

:lgtm:

Agreed, this is old stale code.

Reviewed 2 of 2 files at r1, all commit messages.
Reviewable status: :shipit: complete! 1 of 0 LGTMs obtained (waiting on @andreimatei)

Copy link
Contributor Author

@andreimatei andreimatei left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

bors r+

Reviewable status: :shipit: complete! 1 of 0 LGTMs obtained (waiting on @andreimatei)

@craig
Copy link
Contributor

craig bot commented Nov 18, 2022

Build succeeded:

@craig craig bot merged commit dc0908a into cockroachdb:master Nov 18, 2022
@andreimatei andreimatei deleted the upgrades.tests.cli-skip branch November 19, 2022 03:23
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.

3 participants