Skip to content

Fix a test - #61

Open
tschm wants to merge 3 commits into
alihaskar:masterfrom
tschm:master
Open

Fix a test#61
tschm wants to merge 3 commits into
alihaskar:masterfrom
tschm:master

Conversation

@tschm

@tschm tschm commented Jul 25, 2026

Copy link
Copy Markdown
Contributor

Fix a test

Copilot AI review requested due to automatic review settings July 25, 2026 10:46

Copilot AI left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

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

Pull request overview

This PR updates a server-related unit test to bind a temporary socket explicitly to localhost (127.0.0.1) when selecting an ephemeral port, which helps avoid environment-specific issues that can occur when binding to all interfaces.

Changes:

  • Update test_run_server_specific_port to use s.bind(("127.0.0.1", 0)) instead of s.bind(("", 0)) when obtaining a free port.

💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants