Commit Graph

504 Commits

Author SHA1 Message Date
Ashesh Vidyut 64a6b623ba
grpctest: minor improvements to the test logger implementation (#8370) 2025-07-07 11:55:00 +05:30
Arjan Singh Bal 20bd1e7dfa
grpc: revert #8278: Fix cardinality violations in non-server streaming RPCs (#8404)
This reverts commit a64d9333af.
2025-06-24 00:20:59 +05:30
Pranjali-2501 a64d9333af
grpc: Fix cardinality violations in non-server streaming RPCs (#8278) 2025-06-11 16:49:42 +05:30
Pranjali-2501 ec4810caeb
grpc: Fix cardinality violations in client streaming and unary RPCs (#8330) 2025-05-28 16:06:43 +05:30
Arjan Singh Bal e3f13e75a6
transport: Prevent sending negative timeouts (#8312) 2025-05-14 09:15:09 +05:30
janardhanvissa d3d2702d29
cleanup: replace dial with newclient (#8196) 2025-05-12 10:57:47 +05:30
eshitachandwani 4cedec40eb
grpc_test: add tests for client streaming (#8120) 2025-04-25 13:06:52 +05:30
Matthieu MOREL c75fc8edec
chore: enable early-return and unnecessary-stmt and useless-break from revive (#8100) 2025-02-20 14:10:09 -08:00
janardhanvissa 8528f4387f
cleanup: replace Dial with NewClient (#7975) 2025-02-17 12:39:40 +05:30
Arjan Singh Bal e912015fd3
cleanup: Fix usages of non-constant format strings (#7959) 2024-12-23 13:34:22 -08:00
janardhanvissa 56a14ba1f8
cleanup: replace dial with newclient (#7920) 2024-12-18 14:13:10 -08:00
Purnesh Dixit 36d5ca0fae
stats: deprecate trace and tags methods and remove all usages from internal code (#7837) 2024-11-19 09:37:12 +05:30
Arvind Bright 8320224ff0
.*: revive from unused_parameters (#7577) 2024-08-30 10:41:30 -07:00
Jonathan Halterman 6a5a283b69
Use builtin min and max functions (#7478)
* Use builtin min and max functions

Go added builtin min and max functions in 1.21. This commit removes existing functions and uses the built-ins in stead.

* Revert gofmt changes
2024-08-20 10:42:02 +05:30
Nathan Baulch c8951abc16
*: fix minor typos (#7487)
* Fix typos

* Fix reflecton tests
2024-08-14 22:43:01 +05:30
Arvind Bright f167ad675d
test: fix possible leaked goroutine in TestDetailedConnectionCloseErrorPropagatesToRpcError (#7183) 2024-05-03 11:02:22 -07:00
Anand Inguva 7525e9885f
test: add test for invalid streamID (#6940) 2024-02-20 11:15:18 -08:00
Clément Jean 02858ee506
deps: move from github.com/golang/protobuf to google.golang.org/protobuf/proto (#6919)
Co-authored-by: Arvind Bright <arvind.bright100@gmail.com>
Co-authored-by: Doug Fawley <dfawley@google.com>
2024-01-30 10:59:10 -08:00
Doug Fawley 232054a883
client: remove deprecated WithServiceConfig DialOption (#6800) 2023-11-15 11:17:10 -08:00
Doug Fawley 8b17a4dbc3
vet: various cleanups (#6780) 2023-11-10 13:01:59 -08:00
Easwar Swaminathan df8fc99c30
encoding: move codec tests out of top-level test package (#6728) 2023-10-13 13:54:26 -07:00
Peter Štibraný be7919c3dc
transport: Pass Header metadata to tap handle. (#6652) 2023-10-05 14:08:13 -04:00
Easwar Swaminathan 09792b58fb
test: move codec tests to a separate file (#6663) 2023-09-26 12:10:12 -07:00
Doug Fawley 81b9df233e
idle: move idleness manager to separate package and ~13s of tests into it (#6566) 2023-08-23 12:50:42 -07:00
Doug Fawley fe1519ecf7
client: fix ClientStream.Header() behavior (#6557) 2023-08-18 08:05:48 -07:00
Doug Fawley 33f9fa2e6e
test: speed up two tests (#6558) 2023-08-16 13:15:23 -07:00
Doug Fawley fbff2abb0f
*: update `interface{}` to `any` and `go.mod` version to `go 1.19` (#6544) 2023-08-14 09:04:46 -07:00
Doug Fawley 4832debdaa
test: clean up deadlines set in tests (#6506) 2023-08-08 09:23:15 -07:00
Zach Reyes 7aab9c05b7
stats: Add RPC event for blocking for a picker update (#6422) 2023-07-18 13:50:03 -04:00
Doug Fawley fd376a5cbd
test: fix flaky TimeoutOnDeadServer test; some cleanups (#6276) 2023-05-12 11:01:06 -07:00
Arvind Bright da1a5eb25d
tests: nix TestClientDoesntDeadlockWhileWritingErroneousLargeMessages (#6227) 2023-04-26 16:58:00 -07:00
Easwar Swaminathan 89ec9609a5
grpc: read the service config channel once instead of twice (#6186) 2023-04-11 14:51:15 -07:00
Easwar Swaminathan bfb57b8b49
testing: delete internal copy of test service proto, and use canonical one (#6164) 2023-04-05 17:12:57 -07:00
Easwar Swaminathan a8a25ce994
transport: use prefix logging (#6135) 2023-03-22 09:20:36 -07:00
Zach Reyes 55d8783479
gcp/observability: Link logs and traces by logging Trace and Span IDs (#6056) 2023-03-09 13:56:23 -05:00
Easwar Swaminathan d53f0ec318
test: move compressor tests out of end2end_test.go (#6063) 2023-02-28 11:30:48 -08:00
Easwar Swaminathan 75bed1de3d
test: move e2e health checking tests out of end2end_test.go (#6062) 2023-02-28 09:36:06 -08:00
Ronak Jain 0954097276
server: expose API to set send compressor (#5744)
Fixes https://github.com/grpc/grpc-go/issues/5792
2023-01-31 13:27:34 -08:00
Arvind Bright 12b8fb52a1
test: move e2e HTTP header tests to http_header_end2end_test.go (#5901) 2022-12-28 17:23:09 -06:00
Arvind Bright b2d4d5dbae
test: fix raceyness check to deflake test http server (#5866)
Fixes https://github.com/grpc/grpc-go/issues/4990
2022-12-19 12:57:49 -06:00
Doug Fawley 9f97673ba4
test: move e2e goaway tests to goaway_test.go (#5820) 2022-11-29 10:08:03 -08:00
Zach Reyes 36d14dbf66
Fix binary logging bug which logs a server header on a trailers only response (#5763) 2022-11-02 19:46:50 -04:00
Doug Fawley 9127159caf
client: synchronously verify server preface in newClientTransport (#5731) 2022-10-20 09:29:17 -07:00
Ronak Jain 7b817b4d18
client: set grpc-accept-encoding to full list of registered compressors (#5541) 2022-10-11 16:37:02 -07:00
Zach Reyes 5fc798be17
Add binary logger option for client and server (#5675)
* Add binary logger option for client and server
2022-10-06 13:36:05 -04:00
Zach Reyes b1d7f56b81
transport: Fix deadlock in transport caused by GOAWAY race with new stream creation (#5652)
* transport: Fix deadlock in transport caused by GOAWAY race with new stream creation
2022-09-21 14:35:08 -04:00
Doug Fawley 02f1a7ac92
grpc: prevent a nil stats handler from causing a panic (#5543) 2022-07-29 10:45:21 -07:00
Doug Fawley 1ec054bb67
transport/server: fix race that could cause a stray header to be sent (#5513) 2022-07-28 16:38:04 -07:00
Zach Reyes a094a1095c
Fix race between activeStreams and bdp window size (#5494)
* Fix race between activeStreams and bdp window size
2022-07-13 11:37:09 -04:00
Easwar Swaminathan 15739b5c88
health: split imports into healthpb and healthgrpc (#5466) 2022-06-24 13:31:35 -07:00