jenkins-test-harness icon indicating copy to clipboard operation
jenkins-test-harness copied to clipboard

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

Open Vlatombe opened this issue 4 years ago • 2 comments

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().

Vlatombe avatar Nov 23 '20 08:11 Vlatombe

At least merge with master to rerun CI.

jglick avatar Mar 02 '21 20:03 jglick

it doesn't run after().

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

jglick avatar Mar 26 '21 18:03 jglick