Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fixes the issue of missing root cause in container launch TimeoutException (e.g. SSLHandshakeException) #5778

Merged
merged 9 commits into from Nov 28, 2022

Commits on Aug 27, 2022

  1. - Fixes the issue of losing the root cause of a TimeoutException, esp…

    …ecially SSL connection check errors when applying a HTTPS WaitStrategy (javax.net.ssl.SSLHandshakeException: PKIX path building failed: sun.security.provider.certpath.SunCertPathBuilderException: unable to find valid certification path to requested target). The exception was not propagated to the ContainerLaunchException, therefore not visible in the logs / final stacktrace.
    cdanger committed Aug 27, 2022
    Configuration menu
    Copy the full SHA
    ebaaec8 View commit details
    Browse the repository at this point in the history

Commits on Aug 31, 2022

  1. - Added test for pull request #5778 (fixing the code to propagate the…

    … cause of a HttpWaitStrategy failure in a ContainerLaunchException / TimeoutException, such as HTTPs check / certificate validation error): HttpWaitStrategyTest#testWaitUntilReadyWithTimeoutCausedBySslHandshakeError()
    cdanger committed Aug 31, 2022
    Configuration menu
    Copy the full SHA
    fd0ebc0 View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    bd34197 View commit details
    Browse the repository at this point in the history

Commits on Nov 15, 2022

  1. Configuration menu
    Copy the full SHA
    f3fb74d View commit details
    Browse the repository at this point in the history

Commits on Nov 22, 2022

  1. Update core/src/test/java/org/testcontainers/junit/wait/strategy/Http…

    …WaitStrategyTest.java
    
    Co-authored-by: Kevin Wittek <kiview@users.noreply.github.com>
    cdanger and kiview committed Nov 22, 2022
    Configuration menu
    Copy the full SHA
    e2d19e5 View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    a44dcb6 View commit details
    Browse the repository at this point in the history
  3. - Based on kiview's suggestion, use `assertThat(throwable).hasStackTr…

    …aceContaining("javax.net.ssl.SSLHandshakeException")` and remove all the custom code in `AbstractWaitStrategy` class.
    cdanger committed Nov 22, 2022
    Configuration menu
    Copy the full SHA
    baff946 View commit details
    Browse the repository at this point in the history

Commits on Nov 23, 2022

  1. - Applied spotlessApply

    cdanger committed Nov 23, 2022
    Configuration menu
    Copy the full SHA
    8ec25c1 View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    64020c7 View commit details
    Browse the repository at this point in the history