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

exec: fix TestSortRandomized flakes #38217

Merged
merged 1 commit into from
Jun 17, 2019

Conversation

solongordon
Copy link
Contributor

TestSortRandomized was failing under stress because sometimes it would
randomly generate duplicate sort keys, so there was more than one
correct result. I made the final sort column unique so this can't
happen.

Fixes #38113

Release note: None

TestSortRandomized was failing under stress because sometimes it would
randomly generate duplicate sort keys, so there was more than one
correct result. I made the final sort column unique so this can't
happen.

Fixes cockroachdb#38113

Release note: None
@solongordon solongordon requested review from yuzefovich and a team June 17, 2019 17:30
@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.

Thanks for the fix! :lgtm:

Reviewed 1 of 1 files at r1.
Reviewable status: :shipit: complete! 1 of 0 LGTMs obtained

@solongordon
Copy link
Contributor Author

bors r+

craig bot pushed a commit that referenced this pull request Jun 17, 2019
38217: exec: fix TestSortRandomized flakes r=solongordon a=solongordon

TestSortRandomized was failing under stress because sometimes it would
randomly generate duplicate sort keys, so there was more than one
correct result. I made the final sort column unique so this can't
happen.

Fixes #38113

Release note: None

Co-authored-by: Solon Gordon <[email protected]>
@craig
Copy link
Contributor

craig bot commented Jun 17, 2019

Build succeeded

@craig craig bot merged commit 7a7efe1 into cockroachdb:master Jun 17, 2019
@solongordon solongordon deleted the fix-random-sort-test branch June 18, 2019 11:59
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.

sql/exec: TestSortRandomized failed under stress
3 participants