-
Notifications
You must be signed in to change notification settings - Fork 990
test: enhance triple stream validation in unit tests #3152
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
base: develop
Are you sure you want to change the base?
Conversation
|
Codecov Report✅ All modified and coverable lines are covered by tests. Additional details and impacted files@@ Coverage Diff @@
## develop #3152 +/- ##
========================================
Coverage 47.80% 47.80%
========================================
Files 460 460
Lines 33011 33011
========================================
Hits 15782 15782
+ Misses 15963 15962 -1
- Partials 1266 1267 +1 ☔ View full report in Codecov by Sentry. 🚀 New features to boost your workflow:
|
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Pull request overview
This PR enhances the TestStreamForServer test by ensuring the client stream is properly established before testing stream operations. The change improves test reliability by following the same pattern used in the adjacent "client-stream" test case.
- Adds a
stream.Receive()call in the "client-stream-conn" test to consume the client's message before attempting server operations - Includes comments explaining the purpose of receiving the message and testing the non-proto send operation
💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.
No-SilverBullet
left a comment
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM
|
LGTM |



Description
Fixes #3149
This pull request makes a minor improvement to the
TestStreamForServertest by ensuring that the client stream is properly established before attempting to send a non-protobuf message. This helps verify the correct behavior of the stream handling logic.triple_ext_test.go, the test now explicitly receives the client's message before sending a non-proto message, ensuring the stream is established and making the test more reliable.Checklist
develop