pact-foundation / pact-python

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.
http://pact.io
MIT License
568 stars 137 forks source link

[CI] Windows Provider Unreachable #639

Open JP-Ellis opened 6 months ago

JP-Ellis commented 6 months ago

Have you read the Contributing Guidelines on issues?

Prerequisites

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.

Your environment

master branch of this repo.

Self-service

github-actions[bot] commented 6 months ago

🤖 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!