jenkinsci / jenkins-test-harness

Unit test framework for Jenkins core and its plugins
https://www.jenkins.io/doc/developer/testing/
MIT License
109 stars 126 forks source link

Do not let `TailLog.waitForCompletion` block forever #836

Closed jglick closed 4 weeks ago

jglick commented 1 month ago

The symptom of #835 is a test case hanging forever, despite other timeouts such as in RealJenkinsRule. waitForCompletion is designed just to capture any final log output after a test has already asserted build completion with status, so it should time out. (Extracted from #827.)