gbhavya07 opened a new pull request, #23768:
URL: https://github.com/apache/camel/pull/23768

   # Description
   
   Adds explicit assertions for startup operations in camel-jpa tests.
   
   Several tests invoked `consumer.start()` or `context.start()` without 
directly asserting successful execution. This change wraps those operations 
with `assertDoesNotThrow`, making the expected startup behavior explicit and 
improving test clarity.
   
   Updated tests:
   
   * AbstractJpaMethodTest
   * JpaTest
   * JpaWithNamedQueryTest
   * JpaWithNamedQueryAndParametersTest
   * JpaIdempotentConsumerTest
   
   This is a test-only change and does not modify component behavior.
   
   Validation:
   
   * Ran `./mvnw -pl components/camel-jpa -DskipITs test`
   * Tests run: 96
   * Failures: 0
   * Errors: 0
   
   # Target
   
   * [x] I checked that the commit is targeting the correct branch (Camel 4 
uses the `main` branch)
   
   # Tracking
   
   * [x] JIRA issue: CAMEL-19551
   
   # Apache Camel coding standards and style
   
   * [x] I checked that each commit in the pull request has a meaningful 
subject line and body.
   
   * [x] I ran the relevant module tests locally and verified they pass.
   


-- 
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: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]

Reply via email to