test: add unit test for multiple clients watching same service in Tri Health#16326
Open
LI123456mo wants to merge 2 commits into
Open
test: add unit test for multiple clients watching same service in Tri Health#16326LI123456mo wants to merge 2 commits into
LI123456mo wants to merge 2 commits into
Conversation
7d17191 to
6fb3daf
Compare
6fb3daf to
16ad62c
Compare
Codecov Report✅ All modified and coverable lines are covered by tests. Additional details and impacted files@@ Coverage Diff @@
## 3.3 #16326 +/- ##
============================================
+ Coverage 60.79% 60.80% +0.01%
+ Complexity 11777 11765 -12
============================================
Files 1953 1953
Lines 89208 89208
Branches 13458 13458
============================================
+ Hits 54234 54243 +9
+ Misses 29403 29396 -7
+ Partials 5571 5569 -2
Flags with carried forward coverage won't be shown. Click here to find out more. ☔ View full report in Codecov by Harness. 🚀 New features to boost your workflow:
|
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
What is the purpose of the change?
This pull request introduces a new unit test
testMultipleClientsWatchingSameServicetoTriHealthImplTest. The purpose is to verify that the Triple health check implementation correctly notifies multiple stream observers (StreamObserver) when they are simultaneously watching the same service and a status change occurs.Brief Changelog
testMultipleClientsWatchingSameService()unit test verifying multi-client subscription updates.Verifying this change
This change is a pure test enhancement. You can verify it runs and passes successfully by running: