Skip to content

Conversation

sakthivelmanii
Copy link
Contributor

@sakthivelmanii sakthivelmanii commented Jun 6, 2025

Description:

gRPC trailers are headers which is usually sent after all the messages are sent by the server in the stream. Trailers usually causes additional latency of 250-300 μs after last message is sent in the stream. From the server, we will receiving last field which tells us about last PartialResultSet and we no longer will be waiting for trailers to assume that all the messages are received.

@sakthivelmanii sakthivelmanii requested review from a team as code owners June 6, 2025 14:46
@product-auto-label product-auto-label bot added size: s Pull request size is small. api: spanner Issues related to the googleapis/python-spanner API. labels Jun 6, 2025
@product-auto-label product-auto-label bot added size: m Pull request size is medium. and removed size: s Pull request size is small. labels Jun 9, 2025
olavloite
olavloite previously approved these changes Jun 9, 2025
)


class TestBasics(MockServerTestBase):
def setUp(self):
super().setUp()
super().setup_class()
Copy link
Contributor

Choose a reason for hiding this comment

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

Why do we need to call setup_class() for each test method?

Copy link
Contributor Author

Choose a reason for hiding this comment

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

Let me remove this. This is needed only when I am running individual tests in PyCharm

@sakthivelmanii sakthivelmanii enabled auto-merge (squash) June 16, 2025 13:05
@sakthivelmanii sakthivelmanii merged commit cb25de4 into main Jun 16, 2025
23 of 25 checks passed
@sakthivelmanii sakthivelmanii deleted the skip_grpc_trailers branch June 16, 2025 13:30
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
api: spanner Issues related to the googleapis/python-spanner API. size: m Pull request size is medium.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants