Skip to content

Commit

Permalink
Fix error with 1.8.0_77 in CI, does not happen with 1.8.0_121
Browse files Browse the repository at this point in the history
Probably a bit ugly, but well for a test it should be acceptable.
  • Loading branch information
batmat committed Mar 30, 2017
1 parent e74c738 commit 77dfa64
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion test/src/test/java/jenkins/util/JenkinsJVMRealTest.java
Expand Up @@ -17,7 +17,7 @@ public class JenkinsJVMRealTest {
public static JenkinsRule j = new JenkinsRule();

@Test
public void isJenkinsJVM() throws Exception {
public void isJenkinsJVM() throws Throwable {
assertThat(new IsJenkinsJVM().call(), is(true));
DumbSlave slave = j.createOnlineSlave();
assertThat(slave.getChannel().call(new IsJenkinsJVM()), is(false));
Expand Down

0 comments on commit 77dfa64

Please sign in to comment.