-
Notifications
You must be signed in to change notification settings - Fork 665
Description
Hi team,
I was trying to build and run tests for Apache Karaf on my local machine and noticed that the build behavior is inconsistent depending on the Java version and environment setup.
Initially, I was able to run the full build successfully, but while re-running and automating the tests, a few test cases either failed or had to be skipped due to environment or version-related issues. I tried switching Java versions and re-running the build multiple times, but the same set of tests kept failing or getting skipped.
Environment details
• OS: macOS (Apple Silicon)
• Java versions tried:
• Java 11 (OpenJDK 11.0.29)
• Java 17 (OpenJDK 17.0.17)
• Maven version:
• Apache Maven 3.8.8
Following are the tests affected :
1. org.apache.karaf.audit.TestPerf
2. org.apache.karaf.docker.DockerClientTest
3. org.apache.karaf.docker.internal.DockerServiceImplTest
4. org.apache.karaf.features.FeaturesServiceTest
5. org.apache.karaf.features.internal.service.RepositoryCacheTest
6. org.apache.karaf.itests.examples.CamelExampleTest
7. org.apache.karaf.itests.features.EnterpriseFeaturesTest
8. org.apache.karaf.itests.features.Spring3FeaturesTest
9. org.apache.karaf.itests.features.Spring60FeaturesTest
10. org.apache.karaf.itests.features.Spring61FeaturesTest
11. org.apache.karaf.jaas.modules.ldap.GSSAPILdapLoginModuleTest
Could you please suggest which Java and Maven versions are recommended to run the full test suite locally without skipping these tests, or if there is a standard way to handle these environment dependent tests during local builds?
Thanks!!