Commit Graph

98 Commits

Author SHA1 Message Date
apolcyn 05d49d0147
[interop client] provide a flag to set google-c2p resolver universe domain (#8145)
* provide a flag on interop_client to set google-c2p resolver universe domai
2025-05-28 11:02:07 +05:30
janardhanvissa b0f5027011
cleanup: replace dial with newclient (#7970) 2025-02-28 13:53:16 +05:30
zbilun 897818ae26
interop: improve rpc_soak and channel_soak test to cover concurrency in Go (#8025) 2025-01-23 10:42:29 -08:00
Purnesh Dixit eb7c484fec
Revert "interop: improve rpc_soak and channel_soak test to cover concurrency in Go (#7926)" (#8019) 2025-01-20 09:49:18 +05:30
zbilun d118866d56
interop: improve rpc_soak and channel_soak test to cover concurrency in Go (#7926) 2025-01-09 14:26:59 -08:00
Nathan Baulch c8951abc16
*: fix minor typos (#7487)
* Fix typos

* Fix reflecton tests
2024-08-14 22:43:01 +05:30
Arvind Bright cd69b5d0af
.*: fix minor linter issues (#6958) 2024-02-01 15:49:00 -06:00
Aditya Sood a3f5ed6931
interop: Replace context.Background() with passed ctx (#6827) 2024-01-31 14:23:27 -08: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
Mohan Li 92b481a60b
test: allow set request/response size in interop soak test (#6513) 2023-08-09 09:33:46 -07:00
apolcyn 511a96359f
interop: let the interop client send additional metadata, controlled by a flag (#6295) 2023-05-22 15:32:29 -07:00
Doug Fawley b3fbd87a9e
interop: add ORCA test cases and functionality (#6266) 2023-05-10 13:26:37 -07:00
Theodore Salvo f2fbb0e07e
Deprecate use of `ioutil` package (#5906)
Resolves https://github.com/grpc/grpc-go/issues/5897
2023-01-03 11:20:20 -08:00
Theodore Salvo c90744f16a
oauth: mark `NewOauthAccess` as deprecated and update examples to use `TokenSource` (#5882)
* Mark NewOauthAccess as deprecated & change examples

* Fix composite literal uses unkeyed fields for v1.19
2022-12-27 21:06:47 -06:00
apolcyn c075d2011c
interop client: provide new flag, --soak_min_time_ms_between_rpcs (#5421) 2022-06-24 11:34:16 -07:00
Mohan Li 3bf6719fc8
test/interop: register RLS to the interop test client (#5272) 2022-04-12 14:22:46 -07:00
Doug Fawley 337b815c41
interop: build client without timeout; add logs to help debug failures (#5294) 2022-04-05 15:00:06 -07:00
赵延 c44f627fd1
cleanup: replace grpc.WithInsecure with insecure.NewCredentials (#5177) 2022-02-09 11:17:46 -08:00
apolcyn 32cd3d6176
interop: don't use WithBlock dial option in the client (#4805) 2021-09-22 16:08:17 -07:00
apolcyn 1fe5adbbf8
interop-testing: add soak test cases to interop client (#4677) 2021-09-08 17:31:51 -07:00
Easwar Swaminathan aa59641d5d
interop: use credentials.NewTLS() when possible (#4390) 2021-05-12 10:17:13 -07:00
apolcyn 4a19753e9d
interop: add a flag to clients to statically configure grpclb (#4290) 2021-03-26 10:09:12 -07:00
apolcyn 2456c5cff0
Allow using interop client for making Traffic Director RPCs (#4291) 2021-03-25 20:56:46 -07:00
Doug Fawley d3ae124a07
cleanup: use different import alias for services than messages (#4148) 2021-01-12 12:23:41 -08:00
Easwar Swaminathan 2983360ff4
Fix interop tests which rely on the old certs/keys. (#3804) 2020-08-10 15:53:34 -07:00
Menghan Li 8beeedb8b1
internal: clean up all usages of grpclog, and replace with component (#3719) 2020-08-06 13:19:17 -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
Menghan Li c7079afb44
lint: fail on missing package comment (#3524)
golint does check for missing package comment, but with low confidence.
golint checks each file, and complains on every file missing package comment, even though another file in the same package has the comment.

This PR adds a golint check with low min_confidence, and filters out false-positives.
2020-04-15 09:59:17 -07:00
Menghan Li ee9f7f0c9a
interop: add test case for "pick_first" (#2762) 2019-04-11 14:22:58 -07:00
apolcyn 6d8271a06c credentials: add compute engine channel creds (#2708) 2019-03-25 14:47:12 -07:00
apolcyn 17f2449821 Add google_default_credentials interop test case for go (#2600)
Implementing the [google default creds](https://github.com/grpc/grpc/blob/master/doc/interop-test-descriptions.md#google_default_credentials) interop test for go.

This test case was added in https://github.com/grpc/grpc/pull/17213. The existing OAuth creds test cases turned out to not be great first for google default creds testing, so https://github.com/grpc/grpc/pull/17213 got rid of those tests and created a new dedicated test for google default creds. This PR does that and also gets rid of the now-unneeded (we thought they would be needed earlier) OAuth test scenarios with plain ALTS.
2019-01-29 11:49:49 -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
Menghan Li 8fbeaf87a6
interop: implement special_status_message interop test (#2241)
fixes #2240
2018-07-30 13:33:50 -07:00
apolcyn 4f4261e767 interop: loosen restrictions on creds per test in interop client (#2231) 2018-07-19 10:53:08 -07:00
apolcyn 6a43dcc2ac Allow interop client to use call creds on any secure channel (#2185) 2018-06-28 10:41:13 -07:00
apolcyn b519e3d28d interop: set dns as default scheme in interop client (#2165)
this is to allow use of grpclb-in-DNS in the interop client
2018-06-20 12:19:01 -07:00
apolcyn 7e6dc36bea Import grpclb package in the interop client (#2155)
This can allow the interop client to start running in scenarios in which the target is grpclb balanced.
2018-06-15 15:00:04 -07:00
Chyroc f8dbc38bdc Fix "deprecated" function godoc comments to match standard formatting (#2027) 2018-05-02 08:52:49 -07:00
Cesar Ghali 75d37eff66
credentials/alts: Add ServiceOption for server-side ALTS creation (#2009)
* Move handshaker_service_address flag to binaries
2018-04-23 11:11:20 -07:00
Cesar Ghali 211a7b7ec0 credentials/alts: Update ALTS "New" APIs (#1921) 2018-03-19 09:07:54 -07:00
Cesar Ghali 3ae2a613bc interop: Add use_alts flag to client and server binaries (#1896) 2018-03-07 10:21:48 -08:00
Menghan Li 4b49faaf06 Make interop client dial blocking (#1559)
This should not be necessary once the new balancer API is done.

Currently interop clients don't use balancer. With a non-blocking dial, the first failfast RPC will fail because there's no connection available.
This is a known bug, and will be fixed by the new balancer APIs.

This is a temp fix to make interop tests pass.
2017-10-03 16:57:48 -07:00
ZhouyihaiDing 66c9ed803b Add flags for tls file path (#1419) 2017-08-03 15:23:02 -07:00
田欧 ca9e0c3458 Add testdata package and unify testdata to only one dir (#1297) 2017-07-25 10:24:45 -07:00
Jan Tattermusch ddbf6c46a6 autofix license notice 2017-06-08 14:42:19 +02:00
Paul Marks 97c325c956 Replace "127.0.0.1" with "localhost" to support IPv6-only environments. 2017-02-07 16:08:24 -08:00
Noah Eisen 2769b6cafd Fix comments from github 2016-11-10 16:50:37 -08:00
Noah Eisen 687c958422 Reimplement unimplemented_method and address gofmt issues 2016-11-02 14:53:28 -07:00
Noah Eisen 5b6bca7d0c Add unimplemented test cases to Go interop client
Add UnimplementedService/UnimplementedCall and
TestService/UnimplementedCall to test.proto then regenerated the proto
file.
2016-11-02 09:49:56 -07:00
Noah Eisen dc220c92c0 Add support for custom metadata to Go interop code
Write custom_metadata test case in Go interop client and add support for
metadata echoing in Go interop server.
2016-11-02 09:20:52 -07:00