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

examples: fix debugging example after Dial->NewClient migration #7833

Merged
merged 1 commit into from
Nov 13, 2024

Conversation

dfawley
Copy link
Member

@dfawley dfawley commented Nov 13, 2024

This addresses a comment in #7049.

The manual package's UpdateState method cannot be used until after a client attempts to connect. Maybe that behavior should be change, but this example really wants to use InitialState anyway. Also, make the client and server listen on different ports for channelz, so they can both run at the same time.

RELEASE NOTES:

  • examples: fix the debugging example

Copy link

codecov bot commented Nov 13, 2024

Codecov Report

All modified and coverable lines are covered by tests ✅

Project coverage is 81.92%. Comparing base (274830d) to head (e9f8e11).
Report is 3 commits behind head on master.

Additional details and impacted files
@@            Coverage Diff             @@
##           master    #7833      +/-   ##
==========================================
+ Coverage   81.90%   81.92%   +0.01%     
==========================================
  Files         374      374              
  Lines       37978    37978              
==========================================
+ Hits        31105    31112       +7     
+ Misses       5579     5572       -7     
  Partials     1294     1294              

see 22 files with indirect coverage changes

@easwars easwars assigned dfawley and unassigned easwars Nov 13, 2024
@dfawley dfawley merged commit a365199 into grpc:master Nov 13, 2024
15 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.

2 participants