Some Eclipse Foundation services are deprecated, or will be soon. Please ensure you've read this important communication.

Bug 320342

Summary: Test failure in YieldTest.testResumingThreadJobIsNotRescheduled
Product: [Eclipse Project] Platform Reporter: John Arthorne <john.arthorne>
Component: RuntimeAssignee: John Arthorne <john.arthorne>
Status: RESOLVED FIXED QA Contact:
Severity: normal    
Priority: P3 CC: min123
Version: 3.6   
Target Milestone: 3.6.1   
Hardware: PC   
OS: Windows XP   
Whiteboard:
Bug Depends on: 318746    
Bug Blocks:    

Description John Arthorne CLA 2010-07-19 19:52:55 EDT
+++ This bug was initially created as a clone of Bug #318746 +++

This test has failed in the last two 3.6.x maintenance builds. See bug 51538 for details. It fails on win32, 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.testResumingThreadJobIsNotRescheduled(YieldTest.java:981)
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:619)
at org.eclipse.equinox.launcher.Main.basicRun(Main.java:574)
at org.eclipse.equinox.launcher.Main.run(Main.java:1407)
at org.eclipse.equinox.launcher.Main.main(Main.java:1383)
at org.eclipse.core.launcher.Main.main(Main.java:34)
Comment 1 John Arthorne CLA 2010-07-19 19:53:41 EDT
The fix for this test needs to be back-ported to 3.6.x.
Comment 2 John Arthorne CLA 2010-07-19 19:59:57 EDT
Released and tagged for 3.6.1.