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

DockerContainer.close should be idempotent #26

Merged
merged 1 commit into from
Apr 3, 2020

Conversation

jglick
Copy link
Member

@jglick jglick commented Apr 2, 2020

Discovered by @varyvol and tracked down in jenkinsci/mercurial-plugin#135. Seemed that when you use surefire.rerunFailingTestsCount > 0 with DockerClassRule, if the test failed then close would get called twice on a single container, making the test throw a spurious error.

@olivergondza olivergondza merged commit 2e8c6c1 into jenkinsci:master Apr 3, 2020
@olivergondza
Copy link
Member

Thanks, Jesse!

@jglick jglick deleted the DockerContainer.close branch April 3, 2020 14:20
@jglick jglick added the bug label Apr 15, 2020
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.

2 participants