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}
[ERROR] Tests run: 1, Failures: 
1, Errors: 0, Skipped: 0, Time elapsed: 0.071 s <<< 
FAILURE! -- in org.apache.camel.spring.MisspelledRouteRefTest
[ERROR] 
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)

Reply via email to