Skip to content

local-cluster: move to non-overlapping ports#7178

Merged
lijunwangs merged 1 commit intoanza-xyz:masterfrom
puhtaytow:local-cluster-non-overlapping-ports-0
Aug 5, 2025
Merged

local-cluster: move to non-overlapping ports#7178
lijunwangs merged 1 commit intoanza-xyz:masterfrom
puhtaytow:local-cluster-non-overlapping-ports-0

Conversation

@puhtaytow
Copy link
Copy Markdown

@puhtaytow puhtaytow commented Jul 25, 2025

Problem

A bunch of code still relies on either hardcoded ports or bind_to_localhost and bind_to_unspecified. This creates flaky tests in cases where unique port ranges are needed.

This PR is the step in the journey toward resolving the issue.

Related to #7055

Summary of Changes

Function send_shreds_to_validator has been moved from bind_to_unspecified to the new bind_to_localhost_unique.

@mergify mergify Bot requested a review from a team July 25, 2025 16:07
@alexpyattaev alexpyattaev added the CI Pull Request is ready to enter CI label Jul 27, 2025
@anza-team anza-team removed the CI Pull Request is ready to enter CI label Jul 27, 2025
Copy link
Copy Markdown

@alexpyattaev alexpyattaev left a comment

Choose a reason for hiding this comment

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

LGTM

@codecov-commenter
Copy link
Copy Markdown

Codecov Report

✅ All modified and coverable lines are covered by tests.
⚠️ Please upload report for BASE (master@33191d9). Learn more about missing BASE report.
⚠️ Report is 17 commits behind head on master.

Additional details and impacted files
@@            Coverage Diff            @@
##             master    #7178   +/-   ##
=========================================
  Coverage          ?    83.2%           
=========================================
  Files             ?      853           
  Lines             ?   373995           
  Branches          ?        0           
=========================================
  Hits              ?   311516           
  Misses            ?    62479           
  Partials          ?        0           
🚀 New features to boost your workflow:
  • ❄️ Test Analytics: Detect flaky tests, report on failures, and find test suite problems.

@alexpyattaev alexpyattaev requested a review from lijunwangs August 1, 2025 18:24
@lijunwangs lijunwangs merged commit 438a1de into anza-xyz:master Aug 5, 2025
45 checks passed
@puhtaytow puhtaytow deleted the local-cluster-non-overlapping-ports-0 branch August 5, 2025 18:38
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

5 participants