Skip to content
Permalink
Browse files

[JENKINS-7291] Accidental Java 7 dependency in test.

(cherry picked from commit cedf17e)
  • Loading branch information
jglick authored and olivergondza committed Sep 18, 2013
1 parent 134e01e commit 4089c79a68cf56ae57b79431bd795e5d5e5f4e23
Showing with 1 addition and 1 deletion.
  1. +1 −1 test/src/test/java/hudson/model/QueueTest.java
@@ -324,7 +324,7 @@ public void testFlyweightTasksWithoutMasterExecutors() throws Exception {
try {
build = m.scheduleBuild2(0).get(60, TimeUnit.SECONDS);
} catch (TimeoutException x) {
throw new AssertionError(jenkins.getQueue().getApproximateItemsQuickly().toString(), x);
throw (AssertionError) new AssertionError(jenkins.getQueue().getApproximateItemsQuickly().toString()).initCause(x);
}
assertBuildStatusSuccess(build);
assertEquals("", build.getBuiltOnStr());

0 comments on commit 4089c79

Please sign in to comment.
You can’t perform that action at this time.