-
-
Notifications
You must be signed in to change notification settings - Fork 481
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
@IgnoreNoPactsToVerify passes verification tests when a connection to the pact-broker can't be established #1322
Comments
uglyog
pushed a commit
that referenced
this issue
Mar 13, 2021
@jarmy could you try with the latest versions (4.1.17)? The error handling was changed. |
uglyog
pushed a commit
that referenced
this issue
Mar 13, 2021
@uglyog After upgrading, the test fails with |
This was referenced Mar 15, 2021
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
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 logpact_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:
The text was updated successfully, but these errors were encountered: