Doug Fawley
c0909e91a5
resolver: move dns and passthrough to internal ( #3116 )
...
Nobody should directly need to reference these packages.
This is technically a breaking change. However:
- Package dns was exporting a NewBuilder method. This should never have been necessary to use, but if so, it can be replaced by importing the "grpc" package and then using resolver.Get("dns").
- Package passthrough was not exporting any symbols and there was never a need to even blank-import it.
After as much searching as possible, it appears nobody in the open source community is referencing either of these packages.
2019-10-22 13:01:54 -07:00
Doug Fawley
24b2fb8959
client: remove option to send RPCs before HTTP/2 handshake is completed ( #2904 )
2019-07-12 13:37:27 -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
Can Guler
29a7ac4deb
client: deprecates FailFast & replaces its use by WaitForReady.
2018-12-13 15:15:11 -08:00
Doug Fawley
04ea82009c
cleanup: replace "x/net/context" import with "context" ( #2439 )
2018-11-12 13:30:41 -08:00
dfawley
5fe10fccaf
Remove unused symbols ( #2287 )
2018-09-05 12:29:02 -07:00
Jean de Klerk
0e5a36b652
internal: move leakcheck to internal/ ( #2129 )
...
internal: move leakcheck to internal/
2018-06-07 16:57:56 -07:00
Karsten Weiss
7de9139327
Fix typos ( #1994 )
2018-04-16 10:03:02 -07:00
Jean de Klerk
db0f0713e3
Small test readability fixes ( #1985 )
2018-04-11 10:12:06 -07:00
Jean de Klerk
4b17696981
internal: clean up deprecated Invoke() usage ( #1966 )
2018-04-05 14:09:56 -07:00
dfawley
f4b523765c
status: add Code convenience function ( #1754 )
2017-12-18 15:00:50 -08:00
Daniel Nephin
4e393e0b21
grpc: fix deprecation comments to conform to standard ( #1691 )
2017-12-18 09:23:42 -08:00
dfawley
d1fc8fa770
Deflake tests that rely on Stop() then Dial() not reconnecting ( #1728 )
2017-12-13 09:30:53 -08:00
Menghan Li
a353537ff5
Register and use default balancers and resolvers ( #1551 )
2017-10-19 11:32:06 -07:00
Menghan Li
4bbdf230d7
New implementation of roundrobin and pickfirst ( #1506 )
2017-10-02 09:22:57 -07:00
Menghan Li
d46a3655c4
Add leak goroutine checking to grpc/balancer tests ( #1497 )
2017-09-07 14:30:05 -07:00
dfawley
e60698345e
Fix context warnings from govet. ( #1486 )
...
Pre-req work for #1484
2017-08-29 11:04:15 -07:00
ZhouyihaiDing
41127174ce
balancer_test: possible ctx leak, cancel before break ( #1479 )
2017-08-28 08:51:54 -07:00
ZhouyihaiDing
8336807293
the cancel function should be called to avoid ctx leak ( #1465 )
2017-08-25 13:10:07 -07:00
ZhouyihaiDing
2308131c44
addrConn: change address to slice of address ( #1376 )
...
* addrConn: change address to slice of address
* add pickfirst balancer to test new addrconn
2017-08-21 12:27:04 -07:00
Menghan Li
834dbd54e0
replace 127.0.0.1 with localhost for ipv6 only environment ( #1306 )
2017-06-14 15:03:04 -07:00
Jan Tattermusch
ddbf6c46a6
autofix license notice
2017-06-08 14:42:19 +02:00
Menghan Li
cd5721c02f
Add TestOneConnectionRemoval
2016-08-16 15:48:05 -07:00
Menghan Li
988c8863ad
Add TestOneConnectionDown
2016-08-15 11:28:17 -07:00
Tamir Duberstein
9aa8038716
*: gofmt/goimports simplify
2016-07-27 23:38:28 -04:00
iamqizhao
3e71fb360d
Support fail-fast mode and make it the default
2016-06-27 14:36:59 -07:00
iamqizhao
3d000f3e5f
fix a test error msg
2016-05-26 16:50:29 -07:00
iamqizhao
5b484e4099
add Notify API; move the name resolving into Balancer
2016-05-23 19:25:01 -07:00
iamqizhao
c22f95cf18
Polish the Balancer tests
2016-05-16 17:06:09 -07:00
iamqizhao
aa532d5baf
Fix some issues and remove garbbage files
2016-05-16 15:31:00 -07:00
iamqizhao
a1b60d7b43
Add the tests for balancer and resolver
2016-05-12 17:01:58 -07:00