Skip to content

Commit

Permalink
Merge pull request #1967 from jglick/ClosedByInterruptException-JENKI…
Browse files Browse the repository at this point in the history
…NS-30395

[JENKINS-30395] Work around ClosedByInterruptException in JenkinsRule
  • Loading branch information
daniel-beck committed Jan 8, 2016
2 parents 0a5b036 + 6603409 commit d931a5d
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions test/src/main/java/org/jvnet/hudson/test/JenkinsRule.java
Expand Up @@ -321,6 +321,10 @@ public Jenkins getInstance() {
* @throws Throwable if setup fails (which will disable {@code after}
*/
public void before() throws Throwable {
if (Thread.interrupted()) { // JENKINS-30395
LOGGER.warning("was interrupted before start");
}

if(Functions.isWindows()) {
// JENKINS-4409.
// URLConnection caches handles to jar files by default,
Expand Down

0 comments on commit d931a5d

Please sign in to comment.