Kerry McKeever
01/18/2023, 9:49 PMpact-can-i-deploy
Provider PR:
1. Run provider verification test
2. Run pact-can-i-deploy
If I start the consumer test flow first, the provider new contract verification test will fail with TypeError: providerVersion because my provider is new and has not yet run.
If I start the provider test flow first, the provider verification will still fail because I have no consumer contracts to verify.
How do we avoid these types of race conditions? And will this be something to consider when we have multiple environments (dev, qa, prod, etc.) that the tests are running for the first time?Beth (pactflow.io/Pact Broker/pact-ruby)
Beth (pactflow.io/Pact Broker/pact-ruby)
Beth (pactflow.io/Pact Broker/pact-ruby)
Beth (pactflow.io/Pact Broker/pact-ruby)
the provider verification will still fail because I have no consumer contracts to verify.
Beth (pactflow.io/Pact Broker/pact-ruby)
Kerry McKeever
01/18/2023, 9:52 PMKerry McKeever
01/18/2023, 9:52 PM