You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I have triple checked, that there are no unhandled promises in my code and have read the section on intermittent test failures
I have set my log level to debug and attached a log file showing the complete request/response cycle
For bonus points and virtual high fives, I have created a reproduceable git repository (see below) to illustrate the problem
Expected behaviour
When a provider does not find any pacts to verify the verification resolves with the relevant output describing the result. This means any test libraries do not fail as the promise is resolved.
Actual behaviour
When a provider does not find any pacts to verify for the consumer version selectors, an error inside the Rust pact_verifier is failing the verification run.
In @pact-foundation/pact@^9 this would not reject and allow a provider to exist and attempt to verify contracts before any consumers contracts have been published for the matching consumer version selectors.
Steps to reproduce
Set your options to a standard looking configuration such as the following where there are no consumer pacts published that match the consumerVersionSelectors defined:
Apologies for any confusion Adam. I moved it to pact-foundation/pact-js#941 as it needs addressing there first. I'll perhaps leave this as a tracking item for now.
Software versions
Issue Checklist
Please confirm the following:
Expected behaviour
When a provider does not find any pacts to verify the verification resolves with the relevant output describing the result. This means any test libraries do not fail as the promise is resolved.
Actual behaviour
When a provider does not find any pacts to verify for the consumer version selectors, an error inside the Rust pact_verifier is failing the verification run.
In @pact-foundation/pact@^9 this would not reject and allow a provider to exist and attempt to verify contracts before any consumers contracts have been published for the matching consumer version selectors.
Steps to reproduce
Relevant log files
debug.log
The text was updated successfully, but these errors were encountered: