Skip to content

roachtest: fix costfuzz and unoptimized-query-oracle setups #90221

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

Merged
merged 1 commit into from
Oct 19, 2022

Conversation

rytaft
Copy link
Collaborator

@rytaft rytaft commented Oct 19, 2022

This commit fixes a bug that was recently introduced when registering the costfuzz and unoptimized-query-oracle tests. This bug was due to the well-known range loop variable issue described here: golang/go#20733.

This commit also adds some additional logging and debug information to help with future issues with these test cases.

Fixes #90010

Release note: None

This commit fixes a bug that was recently introduced when registering
the costfuzz and unoptimized-query-oracle tests. This bug was due to
the well-known range loop variable issue described here:
golang/go#20733.

This commit also adds some additional logging and debug information to
help with future issues with these test cases.

Fixes cockroachdb#90010

Release note: None
@rytaft rytaft requested review from michae2 and DrewKimball October 19, 2022 02:16
@rytaft rytaft requested a review from a team as a code owner October 19, 2022 02:16
@cockroach-teamcity
Copy link
Member

This change is Reviewable

Copy link
Collaborator

@DrewKimball DrewKimball left a comment

Choose a reason for hiding this comment

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

Nice fix! That was a pretty insidious bug. :lgtm:

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

Copy link
Collaborator

@michae2 michae2 left a comment

Choose a reason for hiding this comment

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

:lgtm:

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

Copy link
Collaborator Author

@rytaft rytaft left a comment

Choose a reason for hiding this comment

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

TFTRs!

bors r+

Reviewable status: :shipit: complete! 2 of 0 LGTMs obtained (waiting on @rytaft)

@craig
Copy link
Contributor

craig bot commented Oct 19, 2022

Build succeeded:

@craig craig bot merged commit 1d9c9a6 into cockroachdb:master Oct 19, 2022
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.

roachtest/sqlsmith: unsupported SQLSmith type kind
4 participants