Skip to content

Fix a test - #61

Merged
alihaskar merged 3 commits into
alihaskar:masterfrom
tschm:master
Jul 28, 2026
Merged

alihaskar merged 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.

@alihaskar
alihaskar merged commit 941a72e into alihaskar:master Jul 28, 2026
26 checks passed
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.

4 participants