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

sql: skip mixed version test if setup stmt is unimplemented in old version #97577

Conversation

chengxiong-ruan
Copy link
Contributor

@chengxiong-ruan chengxiong-ruan commented Feb 23, 2023

This patch add additional error checking so that we can skip a test if the any of the setup statement is unimplemented. This is useful to skip a mixed version schema changer test when implementing new features which are version gated.

Epic: None

Release note: None

@chengxiong-ruan chengxiong-ruan requested a review from a team February 23, 2023 17:19
@blathers-crl
Copy link

blathers-crl bot commented Feb 23, 2023

It looks like your PR touches production code but doesn't add or edit any test code. Did you consider adding tests to your PR?

🦉 Hoot! I am a Blathers, a bot for CockroachDB. My owner is dev-inf.

@cockroach-teamcity
Copy link
Member

This change is Reviewable

@chengxiong-ruan chengxiong-ruan force-pushed the skip-test-if-setup-stmt-unimplemented branch from 52f64c6 to 102d846 Compare February 23, 2023 17:20
Copy link
Collaborator

@fqazi fqazi left a comment

Choose a reason for hiding this comment

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

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

@chengxiong-ruan chengxiong-ruan force-pushed the skip-test-if-setup-stmt-unimplemented branch from 102d846 to 214235b Compare February 23, 2023 19:17
@chengxiong-ruan chengxiong-ruan force-pushed the skip-test-if-setup-stmt-unimplemented branch 4 times, most recently from f6cf513 to 969f80c Compare February 23, 2023 23:13
…rsion

This patch add additional error checking so that we can skip a test if the
any of the setup statement is unimplemented. This is useful to skip a mixed
version schema changer test when implementing new features which are version
gated.

Epic: None

Release note: None
@chengxiong-ruan chengxiong-ruan force-pushed the skip-test-if-setup-stmt-unimplemented branch from 969f80c to 49b5ecd Compare February 24, 2023 00:20
@chengxiong-ruan
Copy link
Contributor Author

TFTR!
bors r+

@craig
Copy link
Contributor

craig bot commented Feb 24, 2023

Build failed:

@chengxiong-ruan
Copy link
Contributor Author

bors r+

@craig
Copy link
Contributor

craig bot commented Feb 24, 2023

Build succeeded:

@craig craig bot merged commit c0b2a17 into cockroachdb:master Feb 24, 2023
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