Skip to content

fix receiver dropped in streamer tests#8490

Merged
KirillLykov merged 1 commit intoanza-xyz:masterfrom
KirillLykov:klykov/fix-some-streamer-tests
Oct 17, 2025
Merged

fix receiver dropped in streamer tests#8490
KirillLykov merged 1 commit intoanza-xyz:masterfrom
KirillLykov:klykov/fix-some-streamer-tests

Conversation

@KirillLykov
Copy link
Copy Markdown

Problem

Fixes some streamer tests that dropped implicitly receiver.
Follow up for #8458

Summary of Changes

@KirillLykov KirillLykov requested a review from bw-solana October 15, 2025 08:16
check_multiple_writes(receiver, server_address, Some(&client_keypair)).await;
cancel.cancel();
join_handle.await.unwrap();
sleep(Duration::from_millis(100)).await;
Copy link
Copy Markdown
Author

Choose a reason for hiding this comment

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

There is no need to wait 100ms after the stop of the streamer because now streamer will wait for all the connections to stop as well.

@codecov-commenter
Copy link
Copy Markdown

Codecov Report

✅ All modified and coverable lines are covered by tests.
✅ Project coverage is 83.1%. Comparing base (0d68b46) to head (9a91e7a).
⚠️ Report is 1 commits behind head on master.

Additional details and impacted files
@@            Coverage Diff            @@
##           master    #8490     +/-   ##
=========================================
- Coverage    83.1%    83.1%   -0.1%     
=========================================
  Files         848      848             
  Lines      368263   368266      +3     
=========================================
- Hits       306330   306222    -108     
- Misses      61933    62044    +111     
🚀 New features to boost your workflow:
  • ❄️ Test Analytics: Detect flaky tests, report on failures, and find test suite problems.

Copy link
Copy Markdown

@bw-solana bw-solana left a comment

Choose a reason for hiding this comment

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

LGTM

@KirillLykov KirillLykov added this pull request to the merge queue Oct 17, 2025
Merged via the queue into anza-xyz:master with commit b180420 Oct 17, 2025
43 checks passed
@KirillLykov KirillLykov deleted the klykov/fix-some-streamer-tests branch October 17, 2025 18:47
rustopian pushed a commit to rustopian/agave that referenced this pull request Nov 20, 2025
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