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

Bug 369660

Summary: Failures in UITestSuite caused by changes in the test order
Product: [Eclipse Project] Platform Reporter: Paul Webster <pwebster>
Component: UIAssignee: Oleg Besedin <ob1.eclipse>
Status: RESOLVED FIXED QA Contact:
Severity: normal    
Priority: P3 CC: daniel_megert, dean.t.roberts, emoffatt, ob1.eclipse, remy.suen
Version: 3.8   
Target Milestone: 3.8 M6   
Hardware: All   
OS: All   
Whiteboard:

Description Paul Webster CLA 2012-01-25 08:34:57 EST
http://download.eclipse.org/eclipse/downloads/drops/I20120124-2000/testresults/html/org.eclipse.ui.tests_win32.win32.x86_7.0.html#UiTestSuite

We have 4f 2e in the UITestSuite run on windows on java 7.  Oleg, could you please investigate, see if you can reproduce it?

PW
Comment 1 Remy Suen CLA 2012-01-25 09:11:40 EST
The ImportExistingProjectsWizardTest file doesn't look like it's been changed in a while. Will have to do some more digging...
Comment 2 Oleg Besedin CLA 2012-01-25 11:16:55 EST
The failure in ImportExistingProjectsWizardTest is a results of a different order in which tests execute on Java 7. 

Investigating the rest...
Comment 3 Oleg Besedin CLA 2012-01-25 14:04:02 EST
4 out of 6 failures I can duplicate; they are caused by the test run order different from what it was in 1.6. I added test suites that should fix those.

There are two failures that I can not reproduce:
- AdaptableDecoratorTestCase failure in testDisableDecorator
- DecoratorAdaptableTests failure in testNonAdaptableContributions
Those two failures are both in #tearDown() methods. I can not reproduce those locally and there is not much information in the stack traces. There is a good chance that those 2 issues are caused by other tests failing and not cleaning up.
Comment 6 Oleg Besedin CLA 2012-01-26 10:41:32 EST
The "old" failures are gone but there is a new test failure in I20120125-1800 in WorkingSetTests#testWorkingSetUpdater(). I can reproduce the failure by changing order test to 
 testWorkingSetWithBasicElementAdapter
 testWorkingSetWithCustomElementAdapter
 testWorkingSetUpdater
Comment 7 Oleg Besedin CLA 2012-01-26 10:51:16 EST
Fixed testWorkingSetUpdater in R3_dev:

http://git.eclipse.org/c/platform/eclipse.platform.ui.git/commit/?h=R3_development&id=ea1a11b8f86624cb1b6adc39bc11e5d3143bc850

Keeping bug open to see the build results.
Comment 8 Dani Megert CLA 2012-02-07 06:36:52 EST
This looks fixed.