Skip to content

roachtest: fail fixture roachtests on failed backups #147635

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

Merged
merged 1 commit into from
Jun 4, 2025

Conversation

kev-cao
Copy link
Contributor

@kev-cao kev-cao commented Jun 2, 2025

Previously, if a backup job failed during the fixture roachtest, the test would continue along until the required number of backups completed. In this situation, if a backup failed for whatever reason, we would ignore it. This commit teaches the fixture roachtest to detect when a backup job has failed and to fail with the corresponding error.

Epic: None

Release note: None

@kev-cao kev-cao requested a review from msbutler June 2, 2025 17:23
@cockroach-teamcity
Copy link
Member

This change is Reviewable

@kev-cao kev-cao force-pushed the roachtest/fixture-fail-backup branch from 0c82e0d to 47a628a Compare June 2, 2025 19:15
Previously, if a backup job failed during the fixture roachtest, the
test would continue along until the required number of backups
completed. In this situation, if a backup failed for whatever reason, we
would ignore it. This commit teaches the fixture roachtest to detect
when a backup job has failed and to fail with the corresponding error.

Epic: None

Release note: None
@kev-cao kev-cao force-pushed the roachtest/fixture-fail-backup branch from 47a628a to bdee6f0 Compare June 3, 2025 14:22
@kev-cao
Copy link
Contributor Author

kev-cao commented Jun 4, 2025

TFTR!

bors r=msbutler

@craig
Copy link
Contributor

craig bot commented Jun 4, 2025

@craig craig bot merged commit 0172c59 into cockroachdb:master Jun 4, 2025
22 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants