Skip to content

Conversation

@ptziegler
Copy link
Contributor

Newer Eclipse versions no longer launch a workspace when running a test outside the UI thread. Because this is a requirement for all of our SWTBot tests, we can no longer run them locally.

The tests were originally written like that because they open a modal dialog and would thus lead to a deadlock if the test is also executed within the UI thread. But thanks to the changes to the UiContext, we have a way to make this work regardless.

@ptziegler ptziegler added this to the 1.23.0 milestone Dec 21, 2025
@github-actions
Copy link

github-actions bot commented Dec 21, 2025

Test Results

 2 720 files  + 2 391   2 720 suites  +2 391   10h 19m 1s ⏱️ + 9h 50m 58s
 7 018 tests + 6 157   6 960 ✅ + 6 110   58 💤 + 47  0 ❌ ±0 
28 072 runs  +25 305  27 830 ✅ +25 104  242 💤 +201  0 ❌ ±0 

Results for commit 2a038ac. ± Comparison against base commit e8e4cbb.

♻️ This comment has been updated with latest results.

@ptziegler ptziegler force-pushed the rewrite-swtbot-test branch 16 times, most recently from e9feebe to 25aa318 Compare December 24, 2025 00:46
@ptziegler ptziegler force-pushed the rewrite-swtbot-test branch 3 times, most recently from de5e7e3 to e811484 Compare January 7, 2026 19:35
Newer Eclipse versions no longer launch a workspace when running a test
outside the UI thread. Because this is a requirement for all of our
SWTBot tests, we can no longer run them locally.

The tests were originally written like that because they open a modal
dialog and would thus lead to a deadlock if the test is also executed
within the UI thread. But thanks to the changes to the `UiContext`, we
have a way to make this work regardless.
@ptziegler ptziegler force-pushed the rewrite-swtbot-test branch from e811484 to 2a038ac Compare January 8, 2026 19:57
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