Repository navigation
Conversation
RoiSoleil
force-pushed
the
fix-flaky-tests
branch
from
October 7, 2026 18:30
0c04751 to
f987164
Compare
Test Results 351 files 351 suites 1h 19m 22s ⏱️ Results for commit 282c99c. ♻️ This comment has been updated with latest results. |
Member
|
@RoiSoleil would you mind to create one PR for each of the proposed test fixes? That would make it easier to review and possibly merge in isolation. |
This was referenced Oct 8, 2026
RoiSoleil
force-pushed
the
fix-flaky-tests
branch
from
October 8, 2026 04:30
f987164 to
3d10f83
Compare
Contributor
Author
|
@laeubi Sure, done:
The three are independent of each other. |
If the plug-in model of a Tycho project is not available yet when the project is configured, PDEProjectHelper computes its PDE classpath later, once PDE has loaded the model. This update replaced the whole raw classpath by the one computed by PDE and so removed the Maven classpath container the Java configurator had added in the meantime. Whether the model is available in time depends on PDE's resource change listener, which is why TychoConnectorTest.importTychoPlugin randomly fails with "M2EClasspath Container not found!", the classpath being the one computed by PDE (JRE, required plug-ins, sources). The Maven classpath container of the project is now kept when its PDE classpath is set. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_01SscofYwGFw413Xrn8R2AUq
laeubi
force-pushed
the
fix-flaky-tests
branch
from
October 8, 2026 06:43
3d10f83 to
282c99c
Compare
Member
|
Lets see how it behaves with the other failures fixed. The whole |
Contributor
Author
|
Looks like OK |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
TychoConnectorTest.importTychoPluginrandomly fails on most pull requests with:This is not a test problem but a bug in the PDE connector.
If the plug-in model of a Tycho project is not available yet when the project is configured,
PDEProjectHelpercomputes its PDE classpath later, once PDE has loaded the model (CLASSPATH_UPDATER). That update replaces the whole raw classpath by the one computed by PDE ("clear existing entries"), so it removes the Maven classpath container the Java configurator added in the meantime. Whether the model is available in time depends on PDE's resource change listener, hence the random failures — and the container is really lost for the user in that case.The Maven classpath container of the project is now kept when its PDE classpath is set.
Testing
PDEProjectHelperTest(new) runs the deferred update on an imported project. Without the fix it fails with exactly the classpath reported by the CI failures; with it, all the tests oforg.eclipse.m2e.pde.connector.testspass locally on Linux.The two other test fixes initially part of this PR are now in #2266 (
ConsoleTest) and #2267 (MavenTargetDependencyEditorTest).🤖 Generated with Claude Code
https://claude.ai/code/session_01SscofYwGFw413Xrn8R2AUq