Aurélien Pupier created CAMEL-23140:
---------------------------------------
Summary: 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
Affects Versions: 4.19.0
Reporter: Aurélien Pupier
{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}
--
This message was sent by Atlassian Jira
(v8.20.10#820010)