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

sqlsmith: enable partial index mutator #55761

Merged

Conversation

mgartner
Copy link
Collaborator

This commit re-enables the PartialIndexMutator for sqlsmith tests. This
mutator was disabled in #55724 after bug fixes in #55702 revealed
invalid schemas being created in sqlsmith. By reordering the mutators,
randomly generated schemas are no longer invalid.

Informs #55718

Release note: None

This commit re-enables the PartialIndexMutator for sqlsmith tests. This
mutator was disabled in cockroachdb#55724 after bug fixes in cockroachdb#55702 revealed
invalid schemas being created in sqlsmith. By reordering the mutators,
randomly generated schemas are no longer invalid.

Informs cockroachdb#55718

Release note: None
@mgartner mgartner requested review from otan and yuzefovich October 20, 2020 17:52
@cockroach-teamcity
Copy link
Member

This change is Reviewable

Copy link
Member

@yuzefovich yuzefovich left a comment

Choose a reason for hiding this comment

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

:lgtm: assuming you've stressed the test for a bit and there were no failures.

Reviewed 1 of 1 files at r1.
Reviewable status: :shipit: complete! 1 of 0 LGTMs obtained (waiting on @otan)

@mgartner
Copy link
Collaborator Author

Stressing with the bad order caused a failure in ~5 test runs. I stressed this change for 600+ test runs without failure.

@mgartner
Copy link
Collaborator Author

bors r=yuzefovich

@craig
Copy link
Contributor

craig bot commented Oct 20, 2020

Build succeeded:

@craig craig bot merged commit a15c92d into cockroachdb:master Oct 20, 2020
@mgartner mgartner deleted the sqlsmith-enable-partial-index-mutator branch October 20, 2020 20:33
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