Skip to content

Conversation

bthomee
Copy link
Collaborator

@bthomee bthomee commented Oct 15, 2025

High Level Overview of Change

This PR uses the entire loopback range 127.0.0.1 - 127.255.255.254 in unit tests for Linux and Windows. It also adds a necessary space after relevant error messages, and removes two gRPC config functions that are no longer in use.

Context of Change

When multiple unit tests are executed in parallel and in rapid succession, which is typical during busy periods of development in the CI pipelines, it is possible that there are no available ports on the default loopback address 127.0.0.1. As the entire 127.0.0.0/8 range (except 127.0.0.0 and 127.255.255.255) are available on Linux and Windows (but not on macOS), we can avoid the port exhaustion problem by picking any IP address from that range at random.

Type of Change

  • Bug fix (non-breaking change which fixes an issue)
  • New feature (non-breaking change which adds functionality)
  • Breaking change (fix or feature that would cause existing functionality to not work as expected)
  • Refactor (non-breaking change that only restructures code)
  • Performance (increase or change in throughput and/or latency)
  • Tests (you added tests for code that already exists, or your new feature included in this PR)
  • Documentation update
  • Chore (no impact to binary, e.g. .gitignore, formatting, dropping support for older tooling)
  • Release

@bthomee bthomee marked this pull request as draft October 15, 2025 14:35
@bthomee bthomee added the DraftRunCI Normally CI does not run on draft PRs. This opts in. label Oct 16, 2025
@bthomee bthomee marked this pull request as ready for review October 16, 2025 20:02
@bthomee bthomee marked this pull request as draft October 16, 2025 20:45
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

DraftRunCI Normally CI does not run on draft PRs. This opts in.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant