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

backupccl: deflake backup tests #87646

Merged
merged 5 commits into from
Sep 9, 2022

Conversation

adityamaru
Copy link
Contributor

See individual commits.

Release note: None

Stressed for 7+ mins without failure.

Release note: None
The test was rather hard to follow because of all the different
flavours of backup we were trying to test. This change removes the
deprecated `BACKUP TO` statements, and also removes the
`BACKUP INTO subdir IN dir` testcase that is no longer a query
we allow users to run.

Fixes: cockroachdb#54599

Release note: None
This test is unweildy and not testing anything that `TestPublicIndexTableSpans`
isn't. Coordinating GC and running backups is heavy handed for what we want
to test and `TestPublicIndexTableSpans` offers adequate coverage that we can
get rid of this.

Fixes: cockroachdb#63209

Release note: None
Ran this under stressrace, stress and race and haven't seen
a single failure.

Fixes: cockroachdb#77569

Release note: None
@adityamaru adityamaru requested review from dt, msbutler and a team September 8, 2022 20:44
@cockroach-teamcity
Copy link
Member

This change is Reviewable

Copy link
Collaborator

@msbutler msbutler 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 doing this!

Are there any more unit tests we need to unskip? If so, I think we should create a stability tracking issue for the remaining ones.

@adityamaru
Copy link
Contributor Author

I've been using https://roachdash.crdb.dev/?filter=status%3Aopen+l%3Askipped-test+*skipped+r%3Acockroachdb%2Fcockroach&group=project&sort=-lastcommented&restgroup=true&display=project+category+lastorigin+lastcommented to find skipped test. There are a few more left which we should be able to see more clearly once all these issues close.

bors r=msbutler

@craig
Copy link
Contributor

craig bot commented Sep 9, 2022

Build failed:

@msbutler
Copy link
Collaborator

msbutler commented Sep 9, 2022

heh, didn't realize roachdash existed.

@adityamaru
Copy link
Contributor Author

bors r+

@craig
Copy link
Contributor

craig bot commented Sep 9, 2022

Build succeeded:

@craig craig bot merged commit be989ac into cockroachdb:master Sep 9, 2022
@adityamaru
Copy link
Contributor Author

blathers backport release-22.2

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