We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 134e01e commit 4089c79Copy full SHA for 4089c79
test/src/test/java/hudson/model/QueueTest.java
@@ -324,7 +324,7 @@ public void testFlyweightTasksWithoutMasterExecutors() throws Exception {
324
try {
325
build = m.scheduleBuild2(0).get(60, TimeUnit.SECONDS);
326
} catch (TimeoutException x) {
327
- throw new AssertionError(jenkins.getQueue().getApproximateItemsQuickly().toString(), x);
+ throw (AssertionError) new AssertionError(jenkins.getQueue().getApproximateItemsQuickly().toString()).initCause(x);
328
}
329
assertBuildStatusSuccess(build);
330
assertEquals("", build.getBuiltOnStr());
0 commit comments