You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Fix UITestUtil.processEventsUntil causing test failures in RCPTestWorkbenchAdvisor
The previous implementation called UITestUtil.processEventsUntil() which
internally calls PlatformUI.getWorkbench().getDisplay(). However, during
postStartup(), the workbench display may not be reliably accessible via
PlatformUI.getWorkbench(), causing the test to fail.
This change replaces the UITestUtil calls with direct Display.getCurrent()
usage and implements the same event processing logic inline. This ensures
that:
1. We wait for async/sync operations with DisplayAccess to complete
2. We process remaining events to detect any regressions
3. We don't rely on PlatformUI.getWorkbench() during startup
Fixes the following test failures:
- Async run during startup
- Sync from un-qualified thread ran during startup
- Async from un-qualified thread ran during startup
🤖 Generated with [Claude Code](https://claude.com/claude-code)
Co-Authored-By: Claude <noreply@anthropic.com>
0 commit comments