Community
Participate
Working Groups
It looks like the java 7 JRE is returning the session tests in a different order. The solution is to specify the test order in the test suite itself.
I've released a session test ordering fix to origin/pwebster/bug369526 Remy, Oleg, could you have a look in the context of 3.8 testing and make sure the tests still run? Our current failure list: http://download.eclipse.org/eclipse/downloads/drops/I20120123-1300/testresults/html/org.eclipse.ui.tests_win32.win32.x86_7.0.html#SessionTests PW
Looks okay to me. The failures I get now are from the ones that haven't been restructured.
Makes sense. There are two more session tests that fail om my computer if compiled with Java 1.6 and run with Java 1.7: NonRestorablePropertySheetTest (actual order on my machine: test02SecondOpening run before test01ActivateView) ArbitraryPropertiesEditorTest (actual order om my machine: testPartInstantiation, testSecondOpening, testOpenEditor) That was using Eclipse 3.8.
Dean, could you please set yourself up for 3.8 and go through the org.eclipse.ui.tests.session.SessionTests. The only way to guarantee the correct ordering at runtime is to have each test class return a suite(), and spell out the test order in that suite (see org.eclipse.ui.tests.session.Bug95357Test.suite() for an example). PW
In R3_development http://git.eclipse.org/c/platform/eclipse.platform.ui.git/commit/?id=49c318a18ae5ed2a2edb0c6235c132e2d4648891 PW