Introduce unit test for ConcurrentModificationException [JENKINS-76294]#183
Open
jimklimov wants to merge 2 commits intojenkinsci:masterfrom
Open
Introduce unit test for ConcurrentModificationException [JENKINS-76294]#183jimklimov wants to merge 2 commits intojenkinsci:masterfrom
jimklimov wants to merge 2 commits intojenkinsci:masterfrom
Conversation
Signed-off-by: Jim Klimov <jimklimov+jenkinsci@gmail.com>
…seems we can not always collect from systemErrTap [JENKINS-76294] Signed-off-by: Jim Klimov <jimklimov+jenkinsci@gmail.com>
Author
|
Did not crash :( |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Catching up for PR #181 and issue #180, here is a unit test that should reproduce the issue https://issues.jenkins.io/browse/JENKINS-76294 with current code base.
This commit will be included into PR #181 to check whether(/that) it solves the problem. This here PR is needed to check that the test does fail (confirm the problem) on Jenkins CI farm too. The fix will be in the other PR (to be confirmed by passing this test).
Note that relevant
pom.xmlbits were copied from Lockable Resource and Cucumber Reports plugins (along with the convoluted test to force the race condition and crash the best we can).