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

partitionccl,logictestccl: rewrite flaky test #75300

Merged

Conversation

ajwerner
Copy link
Contributor

The test in question would flake if the drop index job ran to completion
before the type change ran. This was flakey. We instead make it a real go test
and use a testing knob to prevent this from happening.

Fixes #68395

Release note: None

@ajwerner ajwerner requested a review from a team as a code owner January 21, 2022 23:00
@ajwerner ajwerner requested a review from a team January 21, 2022 23:00
@cockroach-teamcity
Copy link
Member

This change is Reviewable

@ajwerner ajwerner force-pushed the ajwerner/fix-flakey-enum-removal-test branch from 1eabfcb to ae88e4b Compare January 21, 2022 23:10
Copy link
Contributor

@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.

I've only glossed over the test, but :lgtm: to get that flake out of the way and hopefully someone will give you a proper review post-factum :P

Reviewable status: :shipit: complete! 1 of 0 LGTMs obtained

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.

:LGTM:

Changes look good.

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

The test in question would flake if the drop index job ran to completion
before the type change ran. This was flakey. We instead make it a real go test
and use a testing knob to prevent this from happening.

Fixes cockroachdb#68395

Release note: None
@ajwerner ajwerner force-pushed the ajwerner/fix-flakey-enum-removal-test branch from ae88e4b to 8d5c2d3 Compare January 22, 2022 17:25
@ajwerner
Copy link
Contributor Author

bors r+

@craig
Copy link
Contributor

craig bot commented Jan 23, 2022

Build failed (retrying...):

@craig
Copy link
Contributor

craig bot commented Jan 23, 2022

Build succeeded:

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.

ccl/logictestccl: TestCCLLogic failed
4 participants