Skip to content

agave-validator: move tests#7078

Merged
yihau merged 6 commits intoanza-xyz:masterfrom
yihau:move-test-cases
Jul 23, 2025
Merged

agave-validator: move tests#7078
yihau merged 6 commits intoanza-xyz:masterfrom
yihau:move-test-cases

Conversation

@yihau
Copy link
Copy Markdown
Member

@yihau yihau commented Jul 22, 2025

Problem

some tests are currently written in args.rs, but they can be moved to the corresponding modules for better organization

Summary of Changes

move them

@codecov-commenter
Copy link
Copy Markdown

Codecov Report

All modified and coverable lines are covered by tests ✅

Project coverage is 83.2%. Comparing base (5222e94) to head (761e0f3).

Additional details and impacted files
@@            Coverage Diff            @@
##           master    #7078     +/-   ##
=========================================
- Coverage    83.2%    83.2%   -0.1%     
=========================================
  Files         854      854             
  Lines      374686   374686             
=========================================
- Hits       312083   312059     -24     
- Misses      62603    62627     +24     
🚀 New features to boost your workflow:
  • ❄️ Test Analytics: Detect flaky tests, report on failures, and find test suite problems.

@yihau yihau marked this pull request as ready for review July 22, 2025 13:42
@yihau yihau requested a review from steviez July 22, 2025 13:42
Copy link
Copy Markdown

@steviez steviez left a comment

Choose a reason for hiding this comment

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

Works for me, and I assume all future PR's will follow this pattern too ?

@yihau
Copy link
Copy Markdown
Member Author

yihau commented Jul 23, 2025

yeah, I’ll keep the relevant arg tests in their respective modules 🫡

@yihau yihau merged commit 491690c into anza-xyz:master Jul 23, 2025
41 checks passed
@yihau yihau deleted the move-test-cases branch July 23, 2025 02:22
puhtaytow pushed a commit to puhtaytow/agave that referenced this pull request Jul 24, 2025
* move verify_args_struct_by_command_run_with_no_genesis_fetch()

* move verify_args_struct_by_command_run_with_no_snapshot_fetch

* move verify_args_struct_by_command_run_with_check_vote_account

* move verify_args_struct_by_command_run_with_only_known_rpc

* move verify_args_struct_by_command_run_with_incremental_snapshot_fetch

* wording
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