Skip to content

validator, tests: migrate admin_rpc_service to non-overlapping ports#7148

Merged
lijunwangs merged 1 commit intoanza-xyz:masterfrom
puhtaytow:validator-migrate-to-non-overlapping-ports-0
Aug 5, 2025
Merged

validator, tests: migrate admin_rpc_service to non-overlapping ports#7148
lijunwangs merged 1 commit intoanza-xyz:masterfrom
puhtaytow:validator-migrate-to-non-overlapping-ports-0

Conversation

@puhtaytow
Copy link
Copy Markdown

Problem

A bunch of tests 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

Migrated admin_rpc_service/start_with_config from bind_to_unspecified to bind_to_localhost_unique.

@puhtaytow puhtaytow marked this pull request as draft July 24, 2025 18:28
@mergify mergify Bot requested a review from a team July 24, 2025 18:29
@puhtaytow puhtaytow changed the title validator: migrate admin_rpc_service validator: migrate admin_rpc_service to non-overlapping ports Jul 24, 2025
@puhtaytow puhtaytow changed the title validator: migrate admin_rpc_service to non-overlapping ports validator: migrate admin_rpc_service tests to non-overlapping ports Jul 25, 2025
@puhtaytow puhtaytow changed the title validator: migrate admin_rpc_service tests to non-overlapping ports validator, tests: migrate admin_rpc_service to non-overlapping ports Jul 25, 2025
@puhtaytow puhtaytow marked this pull request as ready for review July 25, 2025 15:19
@alexpyattaev alexpyattaev added the CI Pull Request is ready to enter CI label Jul 25, 2025
@anza-team anza-team removed the CI Pull Request is ready to enter CI label Jul 25, 2025
@alexpyattaev alexpyattaev self-requested a review July 25, 2025 22:31
@codecov-commenter
Copy link
Copy Markdown

Codecov Report

✅ All modified and coverable lines are covered by tests.
✅ Project coverage is 83.2%. Comparing base (86d14f6) to head (214ccd5).
⚠️ Report is 29 commits behind head on master.

Additional details and impacted files
@@           Coverage Diff           @@
##           master    #7148   +/-   ##
=======================================
  Coverage    83.2%    83.2%           
=======================================
  Files         853      853           
  Lines      373926   373926           
=======================================
+ Hits       311358   311397   +39     
+ Misses      62568    62529   -39     
🚀 New features to boost your workflow:
  • ❄️ Test Analytics: Detect flaky tests, report on failures, and find test suite problems.

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

@alexpyattaev alexpyattaev requested a review from lijunwangs July 27, 2025 18:48
@lijunwangs lijunwangs merged commit 4e746fb into anza-xyz:master Aug 5, 2025
45 checks passed
@puhtaytow puhtaytow deleted the validator-migrate-to-non-overlapping-ports-0 branch August 5, 2025 18:41
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