1c9fa07cd7
Fix deadlock in 'go test -tags cluster_proxy -v ./integration/... ./clientv3/...'
...
Cherry pick https://github.com/etcd-io/etcd/pull/12319 to 3.4.
Signed-off-by: Benjamin Wang <wachao@vmware.com >
2022-06-28 13:44:47 +08:00
276ee962ec
integration: Fix 'go test --tags cluster_proxy --timeout=30m -v ./integration/...'
...
grpc proxy opens additional 2 watching channels. The metric is shared
between etcd-server & grpc_proxy, so all assertions on number of open
watch channels need to take in consideration the additional "2"
channels.
2021-04-19 16:41:28 +02:00
34bd797e67
*: revert module import paths
...
Signed-off-by: Gyuho Lee <leegyuho@amazon.com >
2019-05-28 15:39:35 -07:00
9150bf52d6
go modules: Fix module path version to include version number
2019-04-26 15:29:50 -07:00
d37f1521b7
*: update import paths to "go.etcd.io/etcd"
...
Signed-off-by: Gyuho Lee <leegyuho@amazon.com >
2018-08-28 17:47:55 -07:00
497412c588
clientv3: call other APIs with default gRPC call options
...
Signed-off-by: Gyuho Lee <gyuhox@gmail.com >
2017-12-20 10:58:05 -08:00
f87760998b
clientv3: call KV/Txn APIs with default gRPC call options
...
Signed-off-by: Gyuho Lee <gyuhox@gmail.com >
2017-12-20 10:58:05 -08:00
798119ed6f
integration: test auth layer in grpcproxy tests
2017-06-09 09:36:16 -07:00
00da3ca725
integration: add lock and election services to proxy tests
2017-05-10 13:06:27 -07:00
8f40517adb
integration: close proxy's lease client
2017-05-03 13:22:24 -07:00
6dd8fb6f24
Revert "Merge pull request #7732 from heyitsanthony/lease-err-ka"
...
This reverts commit fbbc4a4979
, reversing
changes made to f254e38385
.
Fixes #7851
2017-05-02 09:36:16 -07:00
2fd6df922a
integration: close proxy's lease client
2017-04-24 23:49:45 -07:00
1e3274dfa2
integration: use cluster adapter in tests
...
Signed-off-by: Gyu-Ho Lee <gyuhox@gmail.com >
2017-04-04 10:08:51 -07:00
c90a4b96d1
integration: use maintenance API adapter in tests
...
Signed-off-by: Gyu-Ho Lee <gyuhox@gmail.com >
2017-03-28 14:12:47 -07:00
f35d7d9608
integration: test namespacing on proxy layer
...
Hardcode a namespace over the testing grpcproxy.
2017-03-22 16:45:38 -07:00
b025cdd097
adapter, integration: split out grpc adapters from grpcproxy package
...
Break cyclic dependency:
clientv3/naming <-> integration <-> v3client <-> grpcproxy <-> clientv3/naming
2017-03-13 15:23:26 -07:00
65b59f4423
grpcproxy: incorporate lease proxy into existing proxy framework
2017-02-16 11:50:59 -08:00
8c0282ab24
grpcproxy, etcdmain, integration: add close channel to kv proxy
...
ccache launches goroutines that need to be explicitly stopped.
Fixes #7158
2017-01-18 11:51:16 -08:00
5278ea5ed0
integration: add grpc auth testing
2017-01-09 15:53:36 -08:00
9b5eb1ae5a
grpcproxy, etcdmain, integration: return done channel with WatchServer
...
Makes it possible to synchronously close the watch server.
Fixes #7078
2016-12-30 12:09:48 -08:00
3489fa82fb
integration: don't nest proxies in cluster_proxy mode
2016-09-01 15:21:52 -07:00
fb00a32b86
integration: fix races in global proxies
2016-08-16 19:43:31 -07:00
1cad722a6d
integration: support watch apis in cluster_proxy build
2016-07-25 09:34:36 -07:00
7b3d502b96
integration: build tag cluster_proxy for testing backed by proxy
2016-07-20 15:40:33 -07:00