Hi Team, There is consumer provider pair in the pact broker (prod). Both services are doing the contract testing for very long and both were compatible with contract.
So provider team has reported that they are getting this exception while verification is happening. Since verification is happening through CI/CD pipeline.
Exception :
pactVerificationTestTemplate(PactVerificationContext) > initializationError FAILED
au.com.dius.pact.provider.junitsupport.loader.NoPactsFoundException: No Pact files were found to verify
Provider: LossPrevention
Consumer: TSAYS
Source: Pact Broker https://
prod-pact-broker-url.
Issue is getting fix when consumer is publishing the result back again over pact broker, without making any change in the provider test case.
Note : Provider is not using consumerVersionSelector feature in the provider test case.
Tried to replicate but not able to replicate.