Skip to content

streamer: set worker_threads = 2 in unstaked connection quic tests - #15695

Merged
KirillLykov merged 1 commit into
anza-xyz:masterfrom
ataridev:streamer-quic-tests-worker-threads-5
Oct 5, 2026
Merged

KirillLykov merged 1 commit into
anza-xyz:masterfrom
ataridev:streamer-quic-tests-worker-threads-5

Conversation

@ataridev

@ataridev ataridev commented Oct 1, 2026

Copy link
Copy Markdown

Problem

test_quic_server_unstaked_connection_removal and test_quic_server_unstaked_node_connect_failure use #[tokio::test(flavor = "multi_thread")] without worker_threads, so each one spawns a tokio worker per CPU and oversubscribes CI runners when tests run in parallel.

Summary of Changes

Set worker_threads = 2 for these two tests.

Testing

  • Stress-ran each test locally with 8 parallel copies, 400 runs each: 400/400 passed for both.
  • cargo clippy -p solana-streamer --tests -- -D warnings is clean.

Part of #15681

Set worker_threads = 2 for test_quic_server_unstaked_connection_removal
and test_quic_server_unstaked_node_connect_failure so they no longer
spawn one worker per CPU and oversubscribe CI runners when tests run
in parallel.

Part of anza-xyz#15681
@mergify
mergify Bot requested a review from a team October 1, 2026 13:57
@alexpyattaev alexpyattaev added the CI Pull Request is ready to enter CI label Oct 1, 2026
@steviez
steviez requested a review from a team October 1, 2026 14:10
@github-actions github-actions Bot removed the CI Pull Request is ready to enter CI label Oct 1, 2026
@steviez
steviez removed the request for review from a team October 1, 2026 14:11
@alexpyattaev

Copy link
Copy Markdown

Saving steviez time next time #15697

@codecov-commenter

Copy link
Copy Markdown

Codecov Report

✅ All modified and coverable lines are covered by tests.
✅ Project coverage is 82.7%. Comparing base (8769cd3) to head (2e14519).
⚠️ Report is 5 commits behind head on master.

Additional details and impacted files
@@            Coverage Diff            @@
##           master   #15695     +/-   ##
=========================================
- Coverage    82.7%    82.7%   -0.1%     
=========================================
  Files         934      934             
  Lines      373633   373633             
=========================================
- Hits       309018   309012      -6     
- Misses      64615    64621      +6     
🚀 New features to boost your workflow:
  • ❄️ Test Analytics: Detect flaky tests, report on failures, and find test suite problems.

@KirillLykov
KirillLykov added this pull request to the merge queue Oct 5, 2026
Merged via the queue into anza-xyz:master with commit 82b3d78 Oct 5, 2026
58 of 59 checks passed
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.

4 participants