Skip to content

jobs: fix flake introduced by #45096#45208

Merged
craig[bot] merged 1 commit intocockroachdb:masterfrom
spaskob:flake
Feb 20, 2020
Merged

jobs: fix flake introduced by #45096#45208
craig[bot] merged 1 commit intocockroachdb:masterfrom
spaskob:flake

Conversation

@spaskob
Copy link
Copy Markdown
Contributor

@spaskob spaskob commented Feb 19, 2020

In the test there is a race condition between
checking that job cannot update progress and
switching the job to status Reverting. I removed
the check as it is unnecessary since we already
check in the end of the test that the job is marked
as Canceled.

In the future it is advisable to stress test all PRs
that touch jobs infrastructure to avoid flakes.

Fixes #45131.
Fixes #45204.

Release note: none.

In the test there is a race condition between
checking that job cannot update progress and
switchinbg the job to status Reverting. I removed
the check as it is unnecessary since we already
check in the end of the test that the job is marked
as Canceled.

In the future is advisable to stress test all PRs
that touch jobs infrastructure.

Fixes cockroachdb#45131, Fixes cockroachdb#45204.

Release note: none.
@cockroach-teamcity
Copy link
Copy Markdown
Member

This change is Reviewable

@spaskob spaskob requested a review from thoszhang February 19, 2020 13:49
Copy link
Copy Markdown

@thoszhang thoszhang left a comment

Choose a reason for hiding this comment

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

Reviewed 1 of 1 files at r1.
Reviewable status: :shipit: complete! 0 of 0 LGTMs obtained

@spaskob
Copy link
Copy Markdown
Contributor Author

spaskob commented Feb 20, 2020

bors r+

@craig
Copy link
Copy Markdown
Contributor

craig bot commented Feb 20, 2020

Build succeeded

@craig craig bot merged commit dd98a30 into cockroachdb:master Feb 20, 2020
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.

jobs: TestRegistryLifecycle flake jobs: TestRegistryLifecycle failed

3 participants