Python version of Pact. Enables consumer driven contract testing, providing a mock service and DSL for the consumer project, and interaction playback and verification for the service provider project.
[X] I have read the console error message carefully (if applicable).
Description
The provider tests require a provider server to be started. This is done using the Flask framework and by starting the server through a sub-process.
During initialisation, the PyTest fixture polls the /_test/ping endpoint until a success is returned. For some reason, the polling never succeeds, resulting in a failure.
Reproducible demo
No response
Steps to reproduce
In current master branch
Expected behavior
Connection succeeds, allowing for the test to proceed and succeed
Actual behavior
Test stalls during the polling, and eventually fails after too many retries.
🤖 Great news! We've labeled this issue as smartbear-supported and created a tracking ticket in PactFlow's Jira (PACT-1923). We'll keep work public and post updates here. Meanwhile, feel free to check out our docs. Thanks for your patience!
Have you read the Contributing Guidelines on issues?
Prerequisites
pact-python
.Description
The provider tests require a provider server to be started. This is done using the Flask framework and by starting the server through a sub-process.
During initialisation, the PyTest fixture polls the
/_test/ping
endpoint until a success is returned. For some reason, the polling never succeeds, resulting in a failure.Reproducible demo
No response
Steps to reproduce
In current
master
branchExpected behavior
Connection succeeds, allowing for the test to proceed and succeed
Actual behavior
Test stalls during the polling, and eventually fails after too many retries.
Your environment
master
branch of this repo.Self-service