Skip to content

Run terminal tests with the UI test harness#2766

Merged
vogella merged 1 commit into
eclipse-platform:masterfrom
vogella:feature/terminal-ui-test-2762
Jun 12, 2026
Merged

Run terminal tests with the UI test harness#2766
vogella merged 1 commit into
eclipse-platform:masterfrom
vogella:feature/terminal-ui-test-2762

Conversation

@vogella

@vogella vogella commented Jun 12, 2026

Copy link
Copy Markdown
Contributor

Since #2681 the terminal test suite contains TerminalsViewReorderTest, which loads the TerminalsView class and thereby lazily activates org.eclipse.terminal.view.ui. That activation fails in the headless core-test harness used by the SDK I-builds because UIPlugin.start() registers a workbench listener, causing the 5 failures reported in #2762. The Tycho build stayed green because it auto-detects the UI harness for this bundle and already runs the whole suite with a workbench.

This switches the test.xml suite target from core-test to ui-test so the SDK builds get the same environment, matching the other UI test bundles in this repository.

Fixes #2762

The terminal test suite now contains TerminalsViewReorderTest, which
loads the TerminalsView class from org.eclipse.terminal.view.ui. Lazily
activating that bundle fails in the headless core-test harness because
UIPlugin.start() registers a workbench listener, which requires a
running workbench. The SDK I-builds therefore reported 5 test failures,
while the Tycho build, which auto-detects the UI harness, stayed green.

Run the suite via the ui-test target so a workbench is available,
matching the other UI test bundles in this repository.

Fixes eclipse-platform#2762
@HeikoKlare

Copy link
Copy Markdown
Contributor

Seems like a proper correction of consistency. Because fwiw, this statement is not correct:

The Tycho build stayed green because it auto-detects the UI harness for this bundle and already runs the whole suite with a workbench.

There is no auto-detection but the UI harness was explicitly set for the test bundle in the PR introducing the tests:

@github-actions

Copy link
Copy Markdown
Contributor

Test Results

    54 files  ±0      54 suites  ±0   55m 41s ⏱️ + 1m 57s
 4 677 tests ±0   4 655 ✅ ±0   22 💤 ±0  0 ❌ ±0 
11 925 runs  ±0  11 772 ✅ ±0  153 💤 ±0  0 ❌ ±0 

Results for commit ff1e905. ± Comparison against base commit 89e3793.

@vogella vogella merged commit d1c1806 into eclipse-platform:master Jun 12, 2026
18 checks passed
@vogella vogella deleted the feature/terminal-ui-test-2762 branch June 12, 2026 12:03
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.

5 terminal.test TerminalsViewReorderTest failures since I20260610-1800

2 participants