Some Eclipse Foundation services are deprecated, or will be soon. Please ensure you've read this important communication.
Bug 366534 - [Compatibility] Failures in UIAutomatedSuite
Summary: [Compatibility] Failures in UIAutomatedSuite
Status: CLOSED WONTFIX
Alias: None
Product: Platform
Classification: Eclipse Project
Component: UI (show other bugs)
Version: 4.2   Edit
Hardware: PC Windows 7
: P3 normal (vote)
Target Milestone: ---   Edit
Assignee: Platform-UI-Inbox CLA
QA Contact:
URL:
Whiteboard: stalebug
Keywords:
Depends on:
Blocks: 366451 381873
  Show dependency tree
 
Reported: 2011-12-13 08:56 EST by Dean Roberts CLA
Modified: 2020-02-15 09:13 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 Dean Roberts CLA 2011-12-13 08:56:55 EST
This test suite passes, however, certain tests bog down when run in certain orders and a somewhat complicated way.

In general, the tests run very quickly as they open dialogs.  2-3 seconds per test.

Then they will hit some particular tests and pause for about a minute before passing the test.  Subsequent tests will complete quickly again, until the next pause is hit.

When run alone, the tests that create the pause execute quickly.

During the pause, my CPU is fairly busy.  Most cores averaging 50-60% usage.

The tests that cause the pause are:

UIComparePreferencesAuto.testCompareViewerPref
UINewWorkingSetWizardAuto.testTypePage

Of course more interesting is probably the tests that preceed each problem test.  And they are

UIPreferencesAuto.testFieldEditorEnablePref
UIMessageDialogsAuto.testWizardOverwrite
Comment 1 Dean Roberts CLA 2011-12-13 10:46:39 EST
Did some more investigation and it seems like while the test is "hung"
ToolbarManagerRenderer is busy procressing an endless stream of change events
coming from the EclipseContext.

To reproduce simply run the UIAutomatedSuite to make things more manageable you
can edit the tests run like so:

    /**
     * Construct the test suite.
     */
    public UIAutomatedSuite() {
//        addTest(new TestSuite(UIDialogsAuto.class));
//        addTest(new TestSuite(DeprecatedUIDialogsAuto.class));
//        addTest(new TestSuite(UIWizardsAuto.class));
        addTest(new TestSuite(DeprecatedUIWizardsAuto.class));
        addTest(new TestSuite(UIPreferencesAuto.class));
        addTest(new TestSuite(UIComparePreferencesAuto.class));
//        addTest(new TestSuite(DeprecatedUIPreferencesAuto.class));
//        addTest(new TestSuite(UIMessageDialogsAuto.class));
//        addTest(new TestSuite(UINewWorkingSetWizardAuto.class));
//        addTest(new TestSuite(UIEditWorkingSetWizardAuto.class));
//        addTest(new TestSuite(SearchPatternAuto.class));
//        addTest(new TestSuite(UIFilteredResourcesSelectionDialogAuto.class));
    }
Comment 2 Eclipse Genie CLA 2020-02-15 09:13:38 EST
This bug hasn't had any activity in quite some time. Maybe the problem got resolved, was a duplicate of something else, or became less pressing for some reason - or maybe it's still relevant but just hasn't been looked at yet. As such, we're closing this bug.

If you have further information on the current state of the bug, please add it and reopen this bug. The information can be, for example, that the problem still occurs, that you still want the feature, that more information is needed, or that the bug is (for whatever reason) no longer relevant.

--
The automated Eclipse Genie.