Bug 578391 - Add FreezeMonitor to the PDE tests
Summary: Add FreezeMonitor to the PDE tests
Status: RESOLVED FIXED
Alias: None
Product: PDE
Classification: Eclipse Project
Component: UI (show other bugs)
Version: 4.23   Edit
Hardware: PC All
: P3 enhancement (vote)
Target Milestone: 4.23 M2   Edit
Assignee: Andrey Loskutov CLA
QA Contact:
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2022-01-26 05:52 EST by Andrey Loskutov CLA
Modified: 2022-01-27 05:40 EST (History)
0 users

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Andrey Loskutov CLA 2022-01-26 05:52:32 EST
Coming from bug 578386 comment 4.

If the PDE test hangs, we should be able to see where it hangs. There is a FreezeMonitor in org.eclipse.jdt.core.tests.model tests which does that (prints stack traces for all threads to console), but I think adding dependency to org.eclipse.jdt.core.tests.model is not nice, so let have similar class in PDE tests.

I will push a patch with initial change - unfortunately, lot of work needed to cover *all* PDE tests, but that can be done later by interested parties.
Comment 1 Eclipse Genie CLA 2022-01-26 05:57:03 EST
New Gerrit change created: https://git.eclipse.org/r/c/pde/eclipse.pde.ui/+/190036
Comment 3 Andrey Loskutov CLA 2022-01-27 05:40:06 EST
With bug 578404 we see it works now, so closing as fixed.