Some Eclipse Foundation services are deprecated, or will be soon. Please ensure you've read this important communication.
Bug 320342 - Test failure in YieldTest.testResumingThreadJobIsNotRescheduled
Summary: Test failure in YieldTest.testResumingThreadJobIsNotRescheduled
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.6.1   Edit
Assignee: John Arthorne CLA
QA Contact:
URL:
Whiteboard:
Keywords:
Depends on: 318746
Blocks:
  Show dependency tree
 
Reported: 2010-07-19 19:52 EDT by John Arthorne CLA
Modified: 2010-07-19 19:59 EDT (History)
1 user (show)

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
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.