Skip to content

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