-
-
Notifications
You must be signed in to change notification settings - Fork 8.8k
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
Diagnostics for QuietDownCommandTest.quietDownShouldSuccessWithBlockPlusNonExpiredTimeoutAndRunningExecutor
#8534
Conversation
…PlusNonExpiredTimeoutAndRunningExecutor`
@@ -356,7 +361,7 @@ public void quietDownShouldSuccessWithBlockPlusNonExpiredTimeoutAndRunningExecut | |||
threadPool.submit(exec_task); | |||
beforeCli.block(); | |||
assertJenkinsInQuietMode(); | |||
final boolean timeout_occured = false; |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Among other 🤨 in this test, this variable was unused.
Thought of this though I wanted to have a generic option because this is typically the kind of failure appearing on Windows for reasons that can be unrelated to the test itself. |
https://github.com/jenkinsci/jenkins/pull/8511/checks?check_run_id=17000216956 happened to be on Windows, perhaps just because Windows CI tends to be slower and more likely to expose race conditions, but I strongly suspect the flake in this case is the fault of the test. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
/label ready-for-merge
This PR is now ready for merge. We will merge it after ~24 hours if there is no negative feedback.
Please see the merge process documentation for more information about the merge process.
Thanks!
Alternative diagnostics building on #8513; see jenkinsci/jenkins-test-harness#657 (comment) with @Vlatombe & @basil
Testing done
Test passes locally and shows
as expected. Unknown if the culprit would in fact appear during a flake.
Proposed changelog entries
Before the changes are marked as
ready-for-merge
:Maintainer checklist