[ 
https://issues.apache.org/jira/browse/CAMEL-27770?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=18152797#comment-18152797
 ] 

Guillaume Nodet commented on CAMEL-27770:
-----------------------------------------

This issue is being fixed in PR #31124 on behalf of gnodet.

Root cause: VersionSet.java now rejects Camel 3.x versions. The two affected 
tests have been updated to use 4.0.0 instead of 3.20.2.

_Note: This comment was generated by an AI coding agent and requires manual 
verification._

> VersionCommandITCase is broken on main branch
> ---------------------------------------------
>
>                 Key: CAMEL-27770
>                 URL: https://issues.apache.org/jira/browse/CAMEL-27770
>             Project: Camel
>          Issue Type: Test
>          Components: camel-jbang
>    Affects Versions: 4.24.0
>            Reporter: Aurélien Pupier
>            Assignee: Guillaume Nodet
>            Priority: Major
>
> {noformat}
> org.opentest4j.AssertionFailedError: 
> command camel version set 3.20.2 failed with output  and error ERROR: Camel 
> version 3.20.2 is not supported: the Camel CLI runs Camel 4.0 or newer.
>       at org.junit.jupiter.api.Assertions.fail(Assertions.java:142)
>       at 
> org.apache.camel.test.infra.cli.services.CliLocalContainerService.executeGenericCommand(CliLocalContainerService.java:166)
>       at 
> org.apache.camel.test.infra.cli.services.CliLocalContainerService.executeGenericCommand(CliLocalContainerService.java:143)
>       at 
> org.apache.camel.test.infra.cli.services.CliLocalContainerService.execute(CliLocalContainerService.java:118)
>       at 
> org.apache.camel.test.infra.cli.services.CliServiceFactory$SingletonCliService.execute(CliServiceFactory.java:33)
>       at 
> org.apache.camel.dsl.jbang.it.support.JBangTestSupport.execute(JBangTestSupport.java:179)
>       at 
> org.apache.camel.dsl.jbang.it.VersionCommandITCase.versionCommandTest(VersionCommandITCase.java:34)
> {noformat}



--
This message was sent by Atlassian Jira
(v10.3.26#10030026)

Reply via email to