Skip to content

Do not require a workbench in SafeRunnableErrorTest - #4464

Merged
vogella merged 1 commit into
eclipse-platform:masterfrom
vogella:lv/saferunnable-test-no-workbench
Oct 9, 2026
Merged

vogella merged 1 commit into
eclipse-platform:masterfrom
vogella:lv/saferunnable-test-no-workbench

Conversation

@vogella

@vogella vogella commented Oct 9, 2026

Copy link
Copy Markdown
Contributor

#4455 made testSafeRunnableHandlerOtherThread process the asynchronously posted error dialog via UITestUtil.processEvents(), which looks up the display through PlatformUI.getWorkbench(). The I-build runs org.eclipse.jface.tests without a workbench, so the test failed there with "Workbench has not been created yet". The test now processes the events of Display.getDefault() directly, which is where JFace posts the dialog when no workbench is running.

The I-build runs org.eclipse.jface.tests without a workbench, so UITestUtil.processEvents() failed with "Workbench has not been created yet". Process the events of the default display, where JFace posts the error dialog.

Assisted-by: multiple AI agents and layers of automated tooling 🤖
@github-actions

github-actions Bot commented Oct 9, 2026

Copy link
Copy Markdown
Contributor

Test Results

   867 files  ±0     867 suites  ±0   57m 39s ⏱️ + 5m 9s
 8 411 tests ±0   8 169 ✅ ±0  242 💤 ±0  0 ❌ ±0 
21 102 runs  ±0  20 419 ✅ ±0  683 💤 ±0  0 ❌ ±0 

Results for commit 6cb3fcc. ± Comparison against base commit fb45fd2.

@vogella
vogella merged commit 4d33940 into eclipse-platform:master Oct 9, 2026
18 checks passed
@vogella
vogella deleted the lv/saferunnable-test-no-workbench branch October 9, 2026 08:29
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant