Visitar URL original
pytest: start all servers early by icing · Pull Request #23310 · curl/curl · GitHub
Skip to content

pytest: start all servers early - #23310

Closed
icing wants to merge 3 commits into
curl:masterfrom
icing:pytest-server-start-early
Closed

icing wants to merge 3 commits into
curl:masterfrom
icing:pytest-server-start-early

Conversation

@icing

@icing icing commented Oct 8, 2026

Copy link
Copy Markdown
Contributor

Move server fixtures for dnsd and danted into conftest.py, so they start early and port allocations have less chance to be confused.

Starting them later while many other tests are running in parallel has the chance that an allocated port is picked up by a client before the server can re-grab it.

@github-actions github-actions Bot added the tests label Oct 8, 2026
Move server fixtures for dnsd and danted into conftest.py, so
they start early and port allocations have less chance to be
confused.

Starting them later while many other tests are running in parallel
has the chance that an allocated port is picked up by a client
before the server can re-grab it.
@icing
icing force-pushed the pytest-server-start-early branch from 608ecf9 to d07e4ac Compare October 8, 2026 08:58
@icing
icing requested a review from vszakats October 8, 2026 09:23

@vszakats vszakats left a comment

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Nice!

If you have an example of a confused run at hand, I'd be happy to have a look, maybe it helps recognizing the pattern if it reoccurs.

@icing

icing commented Oct 8, 2026

Copy link
Copy Markdown
Contributor Author

I think we do not run danted (sockd) in CI, but our dnsd has sporadic failures. No link at hand just now...

danted failed locally for me also regularly. Which I saw a curl being unable to connect.

@icing

icing commented Oct 8, 2026

Copy link
Copy Markdown
Contributor Author

@vszakats feel like merging this?

@bagder bagder closed this in 582cdc8 Oct 8, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Development

Successfully merging this pull request may close these issues.

2 participants