Closed jarmy closed 3 years ago
@jarmy could you try with the latest versions (4.1.17)? The error handling was changed.
@uglyog After upgrading, the test fails with au.com.dius.pact.core.pactbroker.InvalidNavigationRequest: Failed to fetch the root HAL document
. This is resolved.
If running a Pact verification
SpringBootTest
with@IgnoreNoPactsToVerify
and there's no SSL/TLS certificates installed allowing a connection to the pact-broker, the test will pass withNo pacts found to verify
. After enabling debugging on the test side, I was able to find this event (full log pact_SSLHandshakeException.log):I'd like to think that if no connection can be made to the broker, the test would fail.
Here's the pact libraries we're using: