salagator opened a new issue, #4560:
URL: https://github.com/apache/camel-quarkus/issues/4560

   I am trying to write camel quarkus tests using the CamelQuarkusTestSupport 
facility.
   
   From the documentation (here: 
https://camel.apache.org/camel-quarkus/2.16.x/user-guide/testing.html), I 
gather that the camel context is created once, for all the tests.
   
   However, when I try writing tests the first one succeeds and any subsequent 
tests fail. If I apply the "TestInstance(TestInstance.Lifecycle.PER_CLASS)" 
annotation, the tests in one class succeed and the tests in any subsequently 
executed class fail.
   
   Something in the test scaffolding seems to be stoping all routes, but not 
starting them back up (either at the test method boundary, or the class 
boundary respectively).
   
   I must be doing something wrong, but I cannot understand what. I tried 
googling myself out of the problem, but to no avail. Please help.
   
   I am attaching a "reproducer" project that shows what I am doing (wrong): 
[camel-testing.zip](https://github.com/apache/camel-quarkus/files/10715736/camel-testing.zip)
   


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: commits-unsubscr...@camel.apache.org.apache.org

For queries about this service, please contact Infrastructure at:
us...@infra.apache.org

Reply via email to