Bug 288358 - testKeepProperty failure
Summary: testKeepProperty failure
Status: RESOLVED FIXED
Alias: None
Product: Platform
Classification: Eclipse Project
Component: UI (show other bugs)
Version: 3.6   Edit
Hardware: PC Linux
: P3 normal (vote)
Target Milestone: 3.6 M6   Edit
Assignee: Prakash Rangaraj CLA
QA Contact: Prakash Rangaraj CLA
URL:
Whiteboard:
Keywords:
: 303421 (view as bug list)
Depends on:
Blocks:
 
Reported: 2009-09-02 09:50 EDT by Paul Webster CLA
Modified: 2010-03-09 09:47 EST (History)
2 users (show)

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Paul Webster CLA 2009-09-02 09:50:22 EDT
I'm running the 3.6 tests from HEAD and I get:
org.eclipse.ui.tests.progress.ProgressContantsTest
testKeepProperty(org.eclipse.ui.tests.progress.ProgressContantsTest)
junit.framework.AssertionFailedError
	at junit.framework.Assert.fail(Assert.java:47)
	at junit.framework.Assert.assertTrue(Assert.java(Compiled Code))
	at junit.framework.Assert.assertTrue(Assert.java:27)
	at org.eclipse.ui.tests.progress.ProgressContantsTest.testKeepProperty(ProgressContantsTest.java:79)
	at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
	at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:85)
	at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:58)
	at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java(Compiled Code))
	at java.lang.reflect.Method.invoke(Method.java(Compiled Code))
	at junit.framework.TestCase.runTest(TestCase.java:164)
	at junit.framework.TestCase.runBare(TestCase.java:130)
	at junit.framework.TestResult$1.protect(TestResult.java:106)
	at junit.framework.TestResult.runProtected(TestResult.java:124)
	at junit.framework.TestResult.run(TestResult.java:109)
	at junit.framework.TestCase.run(TestCase.java:120)
	at junit.framework.TestSuite.runTest(TestSuite.java:230)
	at junit.framework.TestSuite.run(TestSuite.java:225)
	at junit.framework.TestSuite.runTest(TestSuite.java:230)
	at junit.framework.TestSuite.run(TestSuite.java:225)
	at junit.framework.TestSuite.runTest(TestSuite.java:230)
	at junit.framework.TestSuite.run(TestSuite.java:225)
	at org.eclipse.jdt.internal.junit.runner.junit3.JUnit3TestReference.run(JUnit3TestReference.java:130)
	at org.eclipse.jdt.internal.junit.runner.TestExecution.run(TestExecution.java:38)
	at org.eclipse.jdt.internal.junit.runner.RemoteTestRunner.runTests(RemoteTestRunner.java:467)
	at org.eclipse.jdt.internal.junit.runner.RemoteTestRunner.runTests(RemoteTestRunner.java:683)
	at org.eclipse.jdt.internal.junit.runner.RemoteTestRunner.run(RemoteTestRunner.java:390)
	at org.eclipse.pde.internal.junit.runtime.RemotePluginTestRunner.main(RemotePluginTestRunner.java:62)
	at org.eclipse.pde.internal.junit.runtime.UITestApplication$1.run(UITestApplication.java:114)
	at org.eclipse.swt.widgets.RunnableLock.run(RunnableLock.java:35)
	at org.eclipse.swt.widgets.Synchronizer.runAsyncMessages(Synchronizer.java:134)
	at org.eclipse.swt.widgets.Display.runAsyncMessages(Display.java:3475)
	at org.eclipse.swt.widgets.Display.readAndDispatch(Display.java:3122)
	at org.eclipse.ui.internal.Workbench.runEventLoop(Workbench.java:2405)
	at org.eclipse.ui.internal.Workbench.runUI(Workbench.java:2369)
	at org.eclipse.ui.internal.Workbench.access$4(Workbench.java:2221)
	at org.eclipse.ui.internal.Workbench$5.run(Workbench.java:500)
	at org.eclipse.core.databinding.observable.Realm.runWithDefault(Realm.java:332)
	at org.eclipse.ui.internal.Workbench.createAndRunWorkbench(Workbench.java:493)
	at org.eclipse.ui.PlatformUI.createAndRunWorkbench(PlatformUI.java:149)
	at org.eclipse.ui.internal.ide.application.IDEApplication.start(IDEApplication.java:113)
	at org.eclipse.pde.internal.junit.runtime.UITestApplication.start(UITestApplication.java:46)
	at org.eclipse.equinox.internal.app.EclipseAppHandle.run(EclipseAppHandle.java:194)
	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:367)
	at org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseStarter.java:179)
	at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
	at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:85)
	at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:58)
	at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:60)
	at java.lang.reflect.Method.invoke(Method.java:391)
	at org.eclipse.equinox.launcher.Main.invokeFramework(Main.java:610)
	at org.eclipse.equinox.launcher.Main.basicRun(Main.java:565)
	at org.eclipse.equinox.launcher.Main.run(Main.java:1362)
	at org.eclipse.equinox.launcher.Main.main(Main.java:1338)
Comment 1 Krzysztof Daniel CLA 2009-09-02 09:56:14 EDT
Possible duplicate of bug 279748
Comment 2 Prakash Rangaraj CLA 2009-09-02 13:27:57 EDT
(In reply to comment #1)
> Possible duplicate of bug 279748

  Its not dupe of that bug. I haven't changed anything in this tests since I've checked in. Syncing and running the tests now...
Comment 3 Krzysztof Daniel CLA 2009-09-02 14:15:13 EDT
I cannot reproduce.
Comment 4 Prakash Rangaraj CLA 2009-09-03 00:25:02 EDT
(In reply to comment #3)
> I cannot reproduce.

   Paul says it happens only on Linux. You might be on a different platform?
Comment 5 Krzysztof Daniel CLA 2009-09-03 02:06:24 EDT
I have checked Windows. I do not have linux machine at work, so I'll be able to check this in the late afternoon/evening.
Comment 6 Prakash Rangaraj CLA 2010-02-22 00:58:13 EST
*** Bug 303421 has been marked as a duplicate of this bug. ***
Comment 7 Prakash Rangaraj CLA 2010-02-22 01:02:49 EST
This is intermittently happening now in Mac as well (Bug# 303421). The functionality was there for years without this test. Probably I leave it that way. 

I'm commenting out the test in HEAD.