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

Ensure JenkinsRule#after() is called even when timeout is reached #264

Open
wants to merge 4 commits into
base: master
Choose a base branch
from

Conversation

Vlatombe
Copy link
Member

I see from time to time some tests from kubernetes-plugin timing out. When that happens, subsequent tests fail because they try to allocate the same port. I've noticed that the timeout exception isn't handled the same way as a generic failure, in particular it doesn't run after().

@jglick jglick added the bug label Mar 2, 2021
Copy link
Member

@jglick jglick left a comment

Choose a reason for hiding this comment

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

Maybe right? But could also perhaps regress something. I wonder if JenkinsSessionRule behaves more nicely?

@jglick
Copy link
Member

jglick commented Mar 2, 2021

At least merge with master to rerun CI.

@jglick
Copy link
Member

jglick commented Mar 26, 2021

it doesn't run after().

But that may be a good thing, since shutdown invokes user code and thus could hang, right?

@Vlatombe Vlatombe changed the title Ensure JenkinsRule#after() is called even when timeout is reached Ensure JenkinsRule#after() is called even when timeout is reached Jul 15, 2024
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