Skip to content

Commit

Permalink
[JENKINS-30395] Trying to diagnose the root cause of a recurrent Clos…
Browse files Browse the repository at this point in the history
…edByInterruptException in CI.

Originally-Committed-As: ed77fb97a349da51b675f97d06fce8ebe863f107
  • Loading branch information
jglick committed Dec 16, 2015
1 parent 7eb3550 commit 15f6119
Show file tree
Hide file tree
Showing 2 changed files with 10 additions and 0 deletions.
Expand Up @@ -32,6 +32,7 @@
import org.jenkinsci.plugins.workflow.job.WorkflowJob;
import org.jenkinsci.plugins.workflow.job.WorkflowRun;
import org.junit.Assert;
import org.junit.BeforeClass;
import org.junit.ClassRule;
import org.junit.Rule;
import org.jvnet.hudson.test.BuildWatcher;
Expand All @@ -45,6 +46,10 @@
*/
public abstract class SingleJobTestBase extends Assert {

@BeforeClass public static void diagnoseJenkins30395() {
JenkinsRuleExt.diagnoseJenkins30395();
}

@ClassRule public static BuildWatcher buildWatcher = new BuildWatcher();
@Rule public RestartableJenkinsRule story = new RestartableJenkinsRule();

Expand Down
Expand Up @@ -42,6 +42,7 @@
import org.jenkinsci.plugins.workflow.support.actions.LogActionImpl;
import static org.junit.Assert.*;
import org.junit.Before;
import org.junit.BeforeClass;
import org.junit.Test;
import org.jvnet.hudson.test.Issue;
import org.jvnet.hudson.test.JenkinsRule;
Expand All @@ -53,6 +54,10 @@
*/
public class WorkflowJobNonRestartingTest extends AbstractCpsFlowTest {

@BeforeClass public static void diagnoseJenkins30395() {
JenkinsRuleExt.diagnoseJenkins30395();
}

WorkflowJob p;

@Before public void setUp() throws Exception {
Expand Down

0 comments on commit 15f6119

Please sign in to comment.