You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@camel.apache.org by "Claus Ibsen (Jira)" <ji...@apache.org> on 2026/03/06 13:33:00 UTC
[jira] [Resolved] (CAMEL-23140) camel-spring-xml - MisspelledRouteRefTest.testApplicationContextFailed test is failing
[ https://issues.apache.org/jira/browse/CAMEL-23140?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Claus Ibsen resolved CAMEL-23140.
---------------------------------
Resolution: Fixed
> camel-spring-xml - MisspelledRouteRefTest.testApplicationContextFailed test is failing
> --------------------------------------------------------------------------------------
>
> Key: CAMEL-23140
> URL: https://issues.apache.org/jira/browse/CAMEL-23140
> Project: Camel
> Issue Type: Test
> Components: camel-spring, tests
> Affects Versions: 4.19.0
> Reporter: Aurélien Pupier
> Assignee: Claus Ibsen
> Priority: Minor
> Fix For: 4.19.0
>
>
> {noformat}
> [[1;31mERROR[m] [1;31mTests [0;1mrun: [0;1m1[m, [1;31mFailures: [0;1;31m1[m, Errors: 0, Skipped: 0, Time elapsed: 0.071 s[1;31m <<< FAILURE![m -- in org.apache.camel.spring.[1mMisspelledRouteRefTest[m
> [[1;31mERROR[m] org.apache.camel.spring.MisspelledRouteRefTest.testApplicationContextFailed -- Time elapsed: 0.070 s <<< FAILURE!
> org.opentest4j.AssertionFailedError: Object should be of type org.apache.camel.CamelException but was: java.lang.RuntimeException: org.apache.camel.CamelException: Cannot find any routes with this RouteBuilder reference: RouteBuilderRef[xxxroute] with the type: java.lang.RuntimeException ==> expected: <true> but was: <false>
> at org.junit.jupiter.api.AssertionFailureBuilder.build(AssertionFailureBuilder.java:158)
> at org.junit.jupiter.api.AssertionFailureBuilder.buildAndThrow(AssertionFailureBuilder.java:139)
> at org.junit.jupiter.api.AssertTrue.failNotTrue(AssertTrue.java:69)
> at org.junit.jupiter.api.AssertTrue.assertTrue(AssertTrue.java:41)
> at org.junit.jupiter.api.Assertions.assertTrue(Assertions.java:228)
> at org.apache.camel.test.junit6.TestSupport.assertIsInstanceOf(TestSupport.java:127)
> at org.apache.camel.spring.MisspelledRouteRefTest.testApplicationContextFailed(MisspelledRouteRefTest.java:36)
> {noformat}
> failing on all configurations: https://ci-builds.apache.org/job/Camel/job/Camel%20Core%20(Build%20and%20test)/job/main/lastCompletedBuild/testReport/org.apache.camel.spring/MisspelledRouteRefTest/
--
This message was sent by Atlassian Jira
(v8.20.10#820010)