Skip to content

backupccl: update backup detached tests with retry execution under transaction#60512

Merged
craig[bot] merged 1 commit intocockroachdb:masterfrom
Elliebababa:backup_detached_test
Feb 17, 2021
Merged

backupccl: update backup detached tests with retry execution under transaction#60512
craig[bot] merged 1 commit intocockroachdb:masterfrom
Elliebababa:backup_detached_test

Conversation

@Elliebababa
Copy link
Copy Markdown
Contributor

update backup and restore detached tests with retry execution under transaction

Previously, backup and restore detached tests do not retry if transactions fail. They could be flaky tests and fail in CI check.

With this PR, backup and restore detached tests under transaction will not be aborted by retry errors.

Release notes: None.

@Elliebababa Elliebababa requested review from a team and dt and removed request for a team February 11, 2021 22:57
@cockroach-teamcity
Copy link
Copy Markdown
Member

This change is Reviewable

@pbardea pbardea self-requested a review February 16, 2021 18:32
@dt dt removed their request for review February 17, 2021 00:27
Copy link
Copy Markdown
Contributor

@pbardea pbardea left a comment

Choose a reason for hiding this comment

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

LGTM with a minor nit. Thanks!

Copy link
Copy Markdown
Contributor

@pbardea pbardea left a comment

Choose a reason for hiding this comment

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

Ah -- my comment from my previous review got swallowed.

…ansaction

Previously, backup and restore detached tests do not retry if
transactions fail. They could be flaky tests and fail in CI check.

With this PR, backup and restore detached tests under transaction
will not be aborted by retry errors.

Release note: None.
@Elliebababa
Copy link
Copy Markdown
Contributor Author

TFTR!

bors r=pbardea

@craig craig bot merged commit 5744288 into cockroachdb:master Feb 17, 2021
@craig
Copy link
Copy Markdown
Contributor

craig bot commented Feb 17, 2021

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.

3 participants