Commit 72b4a45
committed
Fix flaky ensureCleanUpAddonCleansUp test
Add spinEventLoop() between the two hidePart() calls to drain pending
events before the second hide. This ensures a clean event queue when
CleanupAddon's asyncExec is queued for visCount==0, replacing the
30-second DisplayHelper.waitForCondition polling with a deterministic
event drain.
Fixes #35811 parent 4f7b636 commit 72b4a45
File tree
1 file changed
+6
-7
lines changed- tests/org.eclipse.e4.ui.tests/src/org/eclipse/e4/ui/tests/workbench
1 file changed
+6
-7
lines changedLines changed: 6 additions & 7 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
64 | 64 | | |
65 | 65 | | |
66 | 66 | | |
67 | | - | |
68 | 67 | | |
69 | 68 | | |
70 | 69 | | |
| |||
2446 | 2445 | | |
2447 | 2446 | | |
2448 | 2447 | | |
| 2448 | + | |
| 2449 | + | |
| 2450 | + | |
2449 | 2451 | | |
2450 | | - | |
2451 | | - | |
2452 | | - | |
2453 | | - | |
2454 | | - | |
2455 | | - | |
| 2452 | + | |
| 2453 | + | |
| 2454 | + | |
2456 | 2455 | | |
2457 | 2456 | | |
2458 | 2457 | | |
| |||
0 commit comments