Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

test/channelz: change channelz_test to use write data #7396

Merged
merged 1 commit into from
Jul 9, 2024

Conversation

printchard
Copy link
Contributor

@printchard printchard commented Jul 8, 2024

Remove the call to WriteRawFrame in order to remove that method from the new Framer API.

This particular test was calling WriteRawFrame to write a Data Frame, which could be replaced by WriteData method provided by the x/net/http2 framer.

RELEASE NOTES: none

@arvindbr8 arvindbr8 changed the title change channelz_test to use write data test/channelz: change channelz_test to use write data Jul 8, 2024
@arvindbr8 arvindbr8 added the Type: Internal Cleanup Refactors, etc label Jul 8, 2024
@arvindbr8 arvindbr8 added this to the 1.66 Release milestone Jul 8, 2024
@arvindbr8 arvindbr8 self-assigned this Jul 8, 2024
Copy link

codecov bot commented Jul 8, 2024

Codecov Report

Attention: Patch coverage is 50.00000% with 1 line in your changes missing coverage. Please review.

Project coverage is 81.37%. Comparing base (bdd707e) to head (39395df).

Additional details and impacted files
@@            Coverage Diff             @@
##           master    #7396      +/-   ##
==========================================
- Coverage   81.42%   81.37%   -0.05%     
==========================================
  Files         348      348              
  Lines       26744    26744              
==========================================
- Hits        21775    21764      -11     
- Misses       3779     3786       +7     
- Partials     1190     1194       +4     
Files Coverage Δ
test/rawConnWrapper.go 65.81% <50.00%> (ø)

... and 15 files with indirect coverage changes

Copy link
Member

@arvindbr8 arvindbr8 left a comment

Choose a reason for hiding this comment

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

LGTM! Congrats on the first PR. cc'ing @dfawley to take another quick pass since he is most familiar with the channelz tests.

@arvindbr8 arvindbr8 requested a review from dfawley July 8, 2024 20:38
@arvindbr8 arvindbr8 assigned dfawley and unassigned arvindbr8 Jul 8, 2024
@easwars easwars merged commit f64a6a3 into grpc:master Jul 9, 2024
13 checks passed
printchard added a commit to printchard/grpc-go that referenced this pull request Jul 11, 2024
printchard added a commit to printchard/grpc-go that referenced this pull request Jul 30, 2024
printchard added a commit to printchard/grpc-go that referenced this pull request Jul 30, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

4 participants