Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Explicitly refresh and rebuild test project after .classpath change #261

Open
wants to merge 1 commit into
base: main
Choose a base branch
from

Conversation

adangel
Copy link
Member

@adangel adangel commented Mar 6, 2025

This hopefully fixes spurious test failures, like this one:

ProjectPropertiesModelTest.testProjectClasspath:584 Found these URIs: [file:/usr/lib/jvm/temurin-21-jdk-amd64/lib/jrt-fs.jar, file:/home/runner/work/pmd-eclipse-plugin/pmd-eclipse-plugin/net.sourceforge.pmd.eclipse.plugin.test/target/work/data/ProjectPropertiesModelTest/bin/] expected: 6 but was: 2

E.g. happened in https://github.com/pmd/pmd-eclipse-plugin/actions/runs/13601379628
and in https://github.com/pmd/pmd-eclipse-plugin/actions/runs/13753871134/job/38458276451?pr=262

This hopefully fixes spurious test failures, like this one:

ProjectPropertiesModelTest.testProjectClasspath:584 Found these URIs:
[file:/usr/lib/jvm/temurin-21-jdk-amd64/lib/jrt-fs.jar,
file:/home/runner/work/pmd-eclipse-plugin/pmd-eclipse-plugin/net.sourceforge.pmd.eclipse.plugin.test/target/work/data/ProjectPropertiesModelTest/bin/]
expected: 6 but was: 2
@adangel adangel added this to the 7.12.0 milestone Mar 6, 2025
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