Skip to content

Conversation

@Similarityoung
Copy link
Contributor

Description

Fixes #3149

This pull request makes a minor improvement to the TestStreamForServer test 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.

  • Test robustness improvement:
    • In 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

  • I confirm the target branch is develop
  • Code has passed local testing
  • I have added tests that prove my fix is effective or that my feature works

@sonarqubecloud
Copy link

sonarqubecloud bot commented Jan 2, 2026

@codecov-commenter
Copy link

Codecov Report

✅ All modified and coverable lines are covered by tests.
✅ Project coverage is 47.80%. Comparing base (489ee6a) to head (7ee3eb8).

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.
📢 Have feedback on the report? Share it here.

🚀 New features to boost your workflow:
  • ❄️ Test Analytics: Detect flaky tests, report on failures, and find test suite problems.

Copy link
Contributor

Copilot AI left a 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.

@AlexStocks AlexStocks added the 3.3.2 version 3.3.2 label Jan 8, 2026
Copy link
Member

@No-SilverBullet No-SilverBullet left a comment

Choose a reason for hiding this comment

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

LGTM

@nanjiek
Copy link
Contributor

nanjiek commented Jan 9, 2026

LGTM

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

3.3.2 version 3.3.2

Projects

None yet

Development

Successfully merging this pull request may close these issues.

5 participants