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

Fix #TOMEE-4265: EarClassLoaderTest and EarWebAppFirstClassLoaderTest #1073

Conversation

exabrial
Copy link
Contributor

Fix #TOMEE-4265: EarClassLoaderTest and EarWebAppFirstClassLoaderTest test failures on 8.0.16-SNAPSHOT. joda-time dependency was upgraded from 2.5 and the corresponding tests were not upgraded to 2.10.10

… test failures on 8.0.16-SNAPSHOT. joda-time dependency was upgraded from 2.5 and the corresponding tests were not upgraded to 2.10.10
@rzo1
Copy link
Contributor

rzo1 commented Oct 26, 2023

I think the difference is on purpose. It should use the older version first (as it is bundled within the webapp) and than fallback to the newer version.

The test typically fails due to flakyness on CI as the arquillian resolver doesn't find (sometimes) 2.5 otherwise should be fine (proven by various CI runs).

See for example main or 9.x : https://github.com/apache/tomee/blob/main/arquillian/arquillian-tomee-tests/arquillian-tomee-jaxws-tests/src/test/java/org/apache/openejb/arquillian/tests/jaxws/EarWebAppFirstClassLoaderTest.java

So wouldn't change here.

Copy link
Contributor

@rzo1 rzo1 left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

See above

@exabrial
Copy link
Contributor Author

Got it, I'll close this, thanks!

@exabrial exabrial closed this Oct 26, 2023
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.

2 participants