Skip to content

Revert "Migrate QuickAccessDialogTest to JUnit 5"#4017

Closed
vogella wants to merge 1 commit into
masterfrom
revert-3911-junit5/quickaccess-dialog-test-upstream
Closed

Revert "Migrate QuickAccessDialogTest to JUnit 5"#4017
vogella wants to merge 1 commit into
masterfrom
revert-3911-junit5/quickaccess-dialog-test-upstream

Conversation

@vogella
Copy link
Copy Markdown
Contributor

@vogella vogella commented May 19, 2026

Reverts #3911

@akurtakov
Copy link
Copy Markdown
Member

Please don't merge this one. I don't see any meaningful change in the assertions and migration to JUnit 5 is smth we have to complete.

@vogella
Copy link
Copy Markdown
Contributor Author

vogella commented May 19, 2026

Please don't merge this one. I don't see any meaningful change in the assertions and migration to JUnit 5 is smth we have to complete.

@HeikoKlare thinks that change might cause the flakyness and I currently do not have the time to investigate the real issue of the test flakyness, so I will restore the unit test to its original state so that the work of others is not blocked.

@akurtakov
Copy link
Copy Markdown
Member

I fail to see the reasoning. The assertions are exactly the same.

@vogella
Copy link
Copy Markdown
Contributor Author

vogella commented May 19, 2026

a086677 "Improve fail message in QuickAccessDialogTest.testPreviousChoicesAvailableForExtension" added a String message argument to that very assertTrue, I will add the message to the revert.

@vogella
Copy link
Copy Markdown
Contributor Author

vogella commented May 19, 2026

I fail to see the reasoning. The assertions are exactly the same.

I also fail to see the reasoning but I do not have the time to convince others that this change is not the root.

@vogella vogella force-pushed the revert-3911-junit5/quickaccess-dialog-test-upstream branch from 062ba30 to 04c9a41 Compare May 19, 2026 08:41
@akurtakov
Copy link
Copy Markdown
Member

I even wonder whether #3916 exposes a limitation in MacOS SWT port . https://github.com/akurtakov/eclipse.platform.swt/blob/425c7b6c600689428ef9734822a54d4c920b4c61/bundles/org.eclipse.swt/Eclipse%20SWT/cocoa/org/eclipse/swt/widgets/Text.java#L510 - using different underlying native widgets .

@HeikoKlare
Copy link
Copy Markdown
Contributor

Can you shortly explain the intent of this PR? Is it supposed to be a temporary revert as a debugging means to see if the test would become less flaky again? Even if it did, I am not fully sure how that insight would help us.

but I do not have the time to convince others that this change is not the root.

To be honest, it's sad to see that just posting analysis findings that may help us to find out what's going on is answered by some kind of defense action. I'd really much appreciate if we could just proceed with properly solving #4009 and collecting whatever we need for analysis and resolution.

I even wonder whether #3916 exposes a limitation in MacOS SWT port .

Might be, but we should keep in mind that we also see the test failure happen on Windows (#4009 (comment)) and for macOS we have only seen it happen on the x86 machine but not on the aarch64 one so far.

@akurtakov
Copy link
Copy Markdown
Member

Yeah, it's wild guessing for now. That's why I asked for these to not be merged . We have to understand the problem and do proper fix.

@vogella
Copy link
Copy Markdown
Contributor Author

vogella commented May 19, 2026

Revert not desired.

@vogella vogella closed this May 19, 2026
@vogella vogella deleted the revert-3911-junit5/quickaccess-dialog-test-upstream branch May 19, 2026 10:20
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.

3 participants