Arjan Singh Bal
e912015fd3
cleanup: Fix usages of non-constant format strings ( #7959 )
2024-12-23 13:34:22 -08:00
Arjan Singh Bal
e957825109
test: Workaround slow SRV lookups in flaking test ( #7957 )
2024-12-20 22:29:13 +05:30
janardhanvissa
56a14ba1f8
cleanup: replace dial with newclient ( #7920 )
2024-12-18 14:13:10 -08:00
Arvind Bright
8320224ff0
.*: revive from unused_parameters ( #7577 )
2024-08-30 10:41:30 -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
3fa17cc18f
test: speed up test that was taking 10 seconds to timeout ( #6531 )
2023-08-09 14:40:15 -07:00
Doug Fawley
fd376a5cbd
test: fix flaky TimeoutOnDeadServer test; some cleanups ( #6276 )
2023-05-12 11:01:06 -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
Doug Fawley
12db695f16
grpc: restrict status codes from control plane (gRFC A54) ( #5653 )
2022-10-04 15:13:23 -07:00
Easwar Swaminathan
dd767416a6
grpc: implement WithInsecure() using the insecure package ( #4718 )
2021-11-09 15:42:07 -08:00
Easwar Swaminathan
45a623cbef
test: use non blocking dials in end2end_test ( #4687 )
2021-08-24 10:02:55 -07:00
Doug Fawley
997ce619eb
clientconn: do not automatically reconnect addrConns; go idle instead ( #4613 )
2021-08-10 13:22:34 -07:00
Gaurav Gahlot
d7a7a304ff
testing: Avoid using context.Background ( #3949 )
2020-11-05 09:25:17 -08:00
Doug Fawley
02cd07d9bb
cmd/protoc-gen-go-grpc: revert to interface-based service registration ( #3911 )
2020-09-29 15:17:06 -07:00
Doug Fawley
15157e2664
test: remove funcServer and some uses of NewTestServiceService ( #3867 )
2020-09-09 13:23:46 -07:00
Easwar Swaminathan
fd393c8989
testdata: Update testdata certs. ( #3786 )
...
* This will be used in certprovider tests where we would want more than one server and client certs.
* Also, updated existing usages of these certs to point to the new files.
* Also copy over the required certs/key files. This avoids the example gomodule from depending on gRPC testdata package which should be able to change independently.
* Fix interop test's SAN.
2020-08-05 09:55:07 -07:00
Zou Nengren
4e63bcab52
test: replace manual.GenerateAndRegisterManualResolver with grpc.WithResolvers ( #3700 )
2020-06-23 09:49:44 -07:00
Doug Fawley
eb11ffdf9b
retry: prevent per-RPC creds error from being transparently retried ( #3677 )
2020-06-11 09:18:17 -07:00
Doug Fawley
4eb418e5b2
balancer: move Balancer and Picker to V2; delete legacy API ( #3431 )
2020-04-28 14:52:49 -07:00
Easwar Swaminathan
d15f1a4aa1
test: Move creds related to tests to creds_test.go ( #3542 )
2020-04-16 16:30:23 -07:00
Doug Fawley
c35a580b0c
Revert "balancer: move Balancer and Picker to V2; delete legacy… ( #3315 )
...
This reverts commit 336cf8d761
.
2020-01-13 13:12:55 -08:00
Doug Fawley
336cf8d761
balancer: move Balancer and Picker to V2; delete legacy API ( #3301 )
2020-01-10 13:44:48 -08:00
DO ANH TUAN
ff28255d10
cleanup: fix typo in comment ( #2657 )
...
Although it is spelling mistakes, it might make an effect while reading.
2019-03-14 13:12:48 -07:00
Doug Fawley
0a391ff2b7
grpctest: add new package to manage tests and support per-test setup/teardown ( #2523 )
...
- Migrate `grpc` & `grpc/test` packages to use `Teardown` support to guarantee `leakcheck` is used
2019-01-07 14:24:56 -08:00
Doug Fawley
04ea82009c
cleanup: replace "x/net/context" import with "context" ( #2439 )
2018-11-12 13:30:41 -08:00
Menghan Li
4dedfdc82c
credentials: support google default creds ( #2315 )
...
Google default creds is a combo of ALTS, TLS and OAuth2. The right set of creds will be picked to use based on environment.
This PR contains:
- A new `creds.Bundle` type
- changes to use it in ClientConn and transport
- dial option to set the bundle for a ClientConn
- balancer options and NewSubConnOption to set it for SubConn
- Google default creds implementation by @cesarghali
- grpclb changes to use different creds mode for different servers
- interop client changes for google default creds testing
2018-09-25 13:17:25 -07:00