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

Fix flaky CatchErrorStepTest #225

Merged
merged 2 commits into from
Aug 5, 2022
Merged

Conversation

Pldi23
Copy link
Contributor

@Pldi23 Pldi23 commented Aug 5, 2022

Cloudbees CI reported a that CatchErrorStepTest#catchesInterruptionsByDefault is flaky.

Logs:
stderr_BEE-18075.txt
stacktrace_BEE-18075.txt

Solution:
Avoid any sensitivity to timing by removing timeout step and throwing directly.

@Pldi23
Copy link
Contributor Author

Pldi23 commented Aug 5, 2022

@dwnusbaum please review

Copy link

@jmdesprez jmdesprez left a comment

Choose a reason for hiding this comment

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

Looks good to me

Co-authored-by: Devin Nusbaum <dwnusbaum@users.noreply.github.com>
@dwnusbaum dwnusbaum added the tests label Aug 5, 2022
@dwnusbaum dwnusbaum merged commit d11361f into jenkinsci:master Aug 5, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants