Guillaume Nodet created CAMEL-23894:
---------------------------------------
Summary: Fix flaky ExportTest and DependencyUpdateTest for Spring
Boot runtime in camel-jbang-core
Key: CAMEL-23894
URL: https://issues.apache.org/jira/browse/CAMEL-23894
Project: Camel
Issue Type: Bug
Components: camel-jbang
Reporter: Guillaume Nodet
ExportTest and DependencyUpdateTest in camel-jbang-core intermittently fail for
the Spring Boot runtime parameterization ([2]).
*Root cause:* CatalogLoader.loadSpringBootCatalog() always downloads
camel-catalog-provider-springboot from remote repositories. Unlike
loadCatalog() for the main runtime (which short-circuits when the requested
version matches the bundled catalog), the Spring Boot path has no such
optimization. The camel-catalog-provider-springboot artifact comes from the
separate camel-spring-boot project, whose SNAPSHOT may not be deployed to
Apache Snapshots at any given time.
*Observed failure (PR #24399 CI):*
{noformat}
Cannot download
org.apache.camel.springboot:camel-catalog-provider-springboot:4.22.0-SNAPSHOT
{noformat}
All 23 Spring Boot ([2]) parameterized test cases fail when the SNAPSHOT
artifact is unavailable.
*Fix:* Pin Spring Boot test parameterizations to a released Camel version
(4.13.0) via --camel-version. Released versions are always available on Maven
Central, making these tests deterministic. Tests that already specify
--camel-version are left unchanged.
PR: https://github.com/apache/camel/pull/24402
--
This message was sent by Atlassian Jira
(v8.20.10#820010)