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

   The `testUntrustedCertificate` test connects to 
https://untrusted-root.badssl.com expecting `SSLHandshakeException`, but in CI 
environments with network restrictions a `ConnectException` is thrown instead, 
failing the assertion.
   
   **Changes:**
   - Add connect/read timeouts (10s) to `connectToUrl()` to prevent indefinite 
hangs
   - Catch `ConnectException` and other `IOException`s to skip the test 
gracefully via `Assumptions.assumeTrue` when the external site is unreachable
   - `SSLHandshakeException` is still the expected passing case
   
   _AI agent (Hermes on behalf of gnodet)_


-- 
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