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

changefeedccl: surface errors when job fails in alter changefeed tests #106438

Merged
merged 1 commit into from
Jul 10, 2023

Conversation

HonoreDB
Copy link
Contributor

@HonoreDB HonoreDB commented Jul 7, 2023

Alter changefeed tests use SucceedsSoon around checking various things to do with a job's progress, which leads to an unhelpful hardcoded error message if the job has actually failed entirely. This commit extracts the logic into a test helper and makes it surface job errors.

Fixes: #102760

Alter changefeed tests use SucceedsSoon around checking various things
to do with a job's progress, which leads to an unhelpful hardcoded error
message if the job has actually failed entirely. This commit extracts
the logic into a test helper and makes it surface job errors.

Fixes: cockroachdb#102760
@HonoreDB HonoreDB requested a review from a team as a code owner July 7, 2023 20:36
@HonoreDB HonoreDB requested review from samiskin and removed request for a team July 7, 2023 20:36
@cockroach-teamcity
Copy link
Member

This change is Reviewable

@HonoreDB
Copy link
Contributor Author

bors r=[miretskiy]

@craig
Copy link
Contributor

craig bot commented Jul 10, 2023

Build succeeded:

@craig craig bot merged commit 71ff6f9 into cockroachdb:master Jul 10, 2023
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/changefeedccl: TestAlterChangefeedAddTargetsDuringSchemaChangeError failed
3 participants