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
Doug Fawley
44d73dff99
cmd/protoc-gen-go-grpc: rework service registration ( #3828 )
2020-08-25 09:28:01 -07:00
Zou Nengren
4e63bcab52
test: replace manual.GenerateAndRegisterManualResolver with grpc.WithResolvers ( #3700 )
2020-06-23 09:49:44 -07:00
Garrett Gutierrez
132187f04c
Modified tests to use tlogger. ( #3343 )
...
* Modified tests to use tlogger.
* Fail on errors, with error expectations.
* Added expects and MixedCapsed grpclb_config tests
* Moved tlogger to grpctest, moved leakcheck tester to grpctest.go
* Added ExpectErrorN()
* Removed redundant leak checks
* Fixed new test
* Made tlogger globals into tlogger methods
* ErrorsLeft -> EndTest
* Removed some redundant lines
* Fixed error in test and empty map in EndTest
2020-02-06 13:03:20 -08:00
Doug Fawley
cb03b9f65c
balancer/base: consider an empty address list an error ( #3361 )
2020-02-05 13:16:31 -08:00
Doug Fawley
dc49de8acd
balancer: add V2Picker, ClientConn.UpdateState, SubConnState.ConnectionError ( #3186 )
...
Also implement V2 versions of base.*, xds, pickfirst, grpclb, and round robin balancers.
2019-11-21 10:27:29 -08:00
Doug Fawley
df162eae76
test: embed Unimplemented___Server in every service ( #3076 )
2019-10-04 13:22:31 -07:00
Doug Fawley
ed563a02ea
resolver: add State fields to support error handling ( #2951 )
2019-10-04 12:59:43 -07:00
Menghan Li
5caf962939
client: addrConn NewStream and health check cleanup ( #2848 )
2019-06-26 11:15:17 -07:00
Doug Fawley
d40a995895
balancer/resolver: add loadBalancingConfig and pre-parsing support ( #2732 )
2019-05-30 09:12:58 -07:00
Doug Fawley
3910b873d3
bar: add ability to update resolver state atomically and pass directly to the balancer ( #2693 )
2019-03-22 10:48:55 -07:00
Doug Fawley
4e92c060da
cleanup: replace unnecessary loops ( #2573 )
2019-01-16 13:06:58 -08:00
Doug Fawley
6cc789b34b
client: make handshake required 'on' by default, not 'hybrid' ( #2565 )
2019-01-15 09:19:32 -08: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
Masahiro Sano
1838dedee3
channelz: respect max_results in listing methods ( #2516 )
2018-12-20 13:53:39 -08:00
lyuxuan
5da252b6a6
health check test: prevent double close of hcEnterChan ( #2441 )
2018-12-13 16:44:36 -08:00
Can Guler
29a7ac4deb
client: deprecates FailFast & replaces its use by WaitForReady.
2018-12-13 15:15:11 -08:00
Menghan Li
55ef601361
internal: cleanup remaining x/net/context ( #2470 )
2018-11-28 12:46:35 -08:00
Menghan Li
12ed5d0f69
internal: split health proto package import in test ( #2445 )
2018-11-07 10:31:21 -08:00
Can Guler
1b89e78fdf
test: Adds end2end tests for the case that Watch method returns unimplemented. ( #2429 )
...
Adds end2end tests for the case where Watch method is Unimplemented.
2018-11-05 14:24:11 -08:00
lyuxuan
105f61423e
health: Client LB channel health checking ( #2387 )
2018-11-01 10:49:35 -07:00