Bug 324740 - Test failure in N20100907 in YieldTest.testNestedAcquireJobIsNotRescheduled
Summary: Test failure in N20100907 in YieldTest.testNestedAcquireJobIsNotRescheduled
Status: RESOLVED FIXED
Alias: None
Product: Platform
Classification: Eclipse Project
Component: Runtime (show other bugs)
Version: 3.6   Edit
Hardware: PC Windows XP
: P3 normal (vote)
Target Milestone: 3.7 M2   Edit
Assignee: John Arthorne CLA
QA Contact:
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2010-09-08 09:35 EDT by John Arthorne CLA
Modified: 2010-12-13 10:33 EST (History)
0 users

See Also:


Attachments
Fix v01 (1.62 KB, patch)
2010-09-08 09:36 EDT, John Arthorne CLA
no flags Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description John Arthorne CLA 2010-09-08 09:35:26 EDT
N20100907-0100 Windows Java 6

junit.framework.AssertionFailedError: While resuming from yieldRule, implicit
Job should only run once expected:<0> but was:<1>
at
org.eclipse.core.tests.runtime.jobs.YieldTest.testNestedAcquireJobIsNotRescheduled(YieldTest.java:1039)
at org.eclipse.test.EclipseTestRunner.run(EclipseTestRunner.java:376)
at org.eclipse.test.EclipseTestRunner.run(EclipseTestRunner.java:209)
at org.eclipse.test.CoreTestApplication.runTests(CoreTestApplication.java:35)
at org.eclipse.test.CoreTestApplication.run(CoreTestApplication.java:31)
at
org.eclipse.equinox.internal.app.EclipseAppContainer.callMethodWithException(EclipseAppContainer.java:587)
at
org.eclipse.equinox.internal.app.EclipseAppHandle.run(EclipseAppHandle.java:198)
at
org.eclipse.core.runtime.internal.adaptor.EclipseAppLauncher.runApplication(EclipseAppLauncher.java:110)
at
org.eclipse.core.runtime.internal.adaptor.EclipseAppLauncher.start(EclipseAppLauncher.java:79)
at org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseStarter.java:369)
at org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseStarter.java:179)
at org.eclipse.equinox.launcher.Main.invokeFramework(Main.java:621)
at org.eclipse.equinox.launcher.Main.basicRun(Main.java:576)
at org.eclipse.equinox.launcher.Main.run(Main.java:1409)
at org.eclipse.equinox.launcher.Main.main(Main.java:1385)
at org.eclipse.core.launcher.Main.main(Main.java:34)
Comment 1 John Arthorne CLA 2010-09-08 09:36:47 EDT
Created attachment 178403 [details]
Fix v01

There was a faulty assertion in the test. Here is a fix.
Comment 2 John Arthorne CLA 2010-09-08 09:39:20 EDT
Fix released in HEAD.
Comment 3 John Arthorne CLA 2010-12-13 10:33:24 EST
The fix to the test has also been backported to the 3.6 stream for 3.6.2.