ramu11 commented on PR #1999:
URL: 
https://github.com/apache/camel-spring-boot/pull/1999#issuecomment-5842663877

   > @ramu11 the CI failed with
   > 
   > ```
   >   ╔═════════════════════════════════════════════╗
   >   ║  FAILURE in module: tooling/camel-spring-boot-generator-maven-plugin
   >   ╚═════════════════════════════════════════════╝
   >   
org.apache.camel.springboot.maven.SpringBootGeneratorIgnoreModulesTest.ignoredModulesAreSkipped
 -- Time elapsed: 0.001 s <<< FAILURE!
   >   
   >   Full error details:
   >   Tests run: 1, Failures: 1, Errors: 0, Skipped: 0, Time elapsed: 0.002 s 
<<< FAILURE! -- in 
org.apache.camel.springboot.maven.SpringBootGeneratorIgnoreModulesTest
   >   
org.apache.camel.springboot.maven.SpringBootGeneratorIgnoreModulesTest.ignoredModulesAreSkipped
 -- Time elapsed: 0.001 s <<< FAILURE!
   >   org.opentest4j.AssertionFailedError: 
   >   [PrepareCatalogSpringBootMojo should ignore camel-typesafe-ai] 
   >   Expecting value to be true but was false
   >    at 
org.apache.camel.springboot.maven.SpringBootGeneratorIgnoreModulesTest.ignoredModulesAreSkipped(SpringBootGeneratorIgnoreModulesTest.java:42)
   > ```
   
   Addressed this CI failure.
   
   The `SpringBootGeneratorIgnoreModulesTest` was still expecting 
`camel-typesafe-ai` to be ignored by **all** generator mojos, which no longer 
matches the intended behavior.
   
   Updated the test to:
   
   * Keep `camel-typesafe-ai` ignored by the starter and auto-configuration 
generators.
   * Verify that `PrepareCatalogSpringBootMojo` and `UpdateStarterDocPageMojo` 
do **not** ignore `camel-typesafe-ai`, so catalog metadata and starter 
documentation can continue to be generated/updated.
   * Keep the existing assertions for the core Spring Boot modules.
   
   Also ran the full generator plugin test suite:
   
   `./mvnw -pl tooling/camel-spring-boot-generator-maven-plugin -am test`
   
   Result: **14 tests, 0 failures, 0 errors, 0 skipped — BUILD SUCCESS.**
   
   The `camel-typesafe-ai` starter tests also pass, and `git diff --check` is 
clean.
   


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]

Reply via email to