8000 Stabilize SourceCompositeTests to avoid occasional SEGFAULT by ptziegler · Pull Request #1154 · eclipse-windowbuilder/windowbuilder · GitHub
[go: up one dir, main page]

Skip to content

Stabilize SourceCompositeTests to avoid occasional SEGFAULT#1154

Merged
ptziegler merged 1 commit intoeclipse-windowbuilder:masterfrom
ptziegler:issue1096
Jul 4, 2025
Merged

Stabilize SourceCompositeTests to avoid occasional SEGFAULT#1154
ptziegler merged 1 commit intoeclipse-windowbuilder:masterfrom
ptziegler:issue1096

Conversation

@ptziegler
Copy link
Contributor

This replaces the simulated key events generated by SWTBot with more stable counterparts. Instead of a "ENTER" key, the active cell editor is closed by calling "applyEditorValue" on the underlying table viewer and instead of posting the remaining key events to "Display.post()", the events are instead directly passed to the targeted widget.

Closes #1096

This replaces the simulated key events generated by SWTBot with more
stable counterparts. Instead of a "ENTER" key, the active cell editor is
closed by calling "applyEditorValue" on the underlying table viewer and
instead of posting the remaining key events to "Display.post()", the
events are instead directly passed to the targeted widget.

Closes eclipse-windowbuilder#1096
@ptziegler ptziegler added this to the 1.21.0 milestone Jul 4, 2025
@ptziegler
Copy link
Contributor Author

I ran the tests 500 times without any errors. Previously, the test would crash after ~30 iterations, so I think this problem is fixed for good.

@ptziegler ptziegler merged commit 9491052 into eclipse-windowbuilder:master Jul 4, 2025
8 checks passed
@ptziegler ptziegler deleted the issue1096 branch July 4, 2025 21:36
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.

Occasional Segmentation Fault in test_SourceComposite_navigation

1 participant

0