| Summary: | PlatformUITest.testWithoutDisplayAccess_sync() fails on Java 7 | ||||||
|---|---|---|---|---|---|---|---|
| Product: | [Eclipse Project] Platform | Reporter: | Dani Megert <daniel_megert> | ||||
| Component: | UI | Assignee: | Oleg Besedin <ob1.eclipse> | ||||
| Status: | RESOLVED FIXED | QA Contact: | Oleg Besedin <ob1.eclipse> | ||||
| Severity: | normal | ||||||
| Priority: | P3 | CC: | ob1.eclipse, pwebster, remy.suen | ||||
| Version: | 3.7 | ||||||
| Target Milestone: | 3.7 M7 | ||||||
| Hardware: | PC | ||||||
| OS: | Linux-GTK | ||||||
| Whiteboard: | |||||||
| Bug Depends on: | |||||||
| Bug Blocks: | 342688 | ||||||
| Attachments: |
|
||||||
|
Description
Dani Megert
Created attachment 194006 [details]
Patch
I can't reproduce that either. One possibility is that we don't re-sync values on several variables in the RCPTestWorkbenchAdvisor: the setters are done in "synchronized" blocks but getters access variables directly.
Also the order of PlatformUITest still was incorrect: "testCreateAndRunWorkbenchWithExceptionOnStartup" should be done after testing all startup variables for the normal case. (The test variables are static.)
I'll also bunch together all asserts of startup variables; there is little reason to have them in separate tests.
Patch applied to CVS Head. Thanks Oleg. We'll run the tests against Java 7 again once the remaining issues are fixed (see bug 342688). |