Piotr Tabor
32bad8e9a8
integration/cluster_proxy.go: Fix broken build with tags=cov.
...
Prior to the fix:
```
go test -mod=mod -timeout 30m -tags cluster_proxy "./integration/..."
```
Was failing with:
```
integration/cluster_proxy.go:58:37: not enough arguments in call to grpcproxy.NewWatchProxy
have (*clientv3.Client)
want (*zap.Logger, *clientv3.Client)
FAIL go.etcd.io/etcd/v3/integration [build failed]
```
2020-09-10 14:54:09 +02:00
Brandon Philips
96cce208c2
go.mod: use go.etcd.io/etcd/v3 versioning
...
This change makes the etcd package compatible with the existing Go
ecosystem for module versioning.
Used this tool to update package imports:
https://github.com/KSubedi/gomove
2020-04-28 00:57:35 +00:00
Jingyi Hu
bb29615359
proxy: remove capnslog ( #11614 )
...
* proxy: remove capnslog
* CHANGELOG: function signature change
2020-02-12 10:30:09 -08:00
Gyuho Lee
34bd797e67
*: revert module import paths
...
Signed-off-by: Gyuho Lee <leegyuho@amazon.com>
2019-05-28 15:39:35 -07:00
shivaramr
9150bf52d6
go modules: Fix module path version to include version number
2019-04-26 15:29:50 -07:00
Gyuho Lee
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
Gyuho Lee
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
Gyuho Lee
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
Anthony Romano
798119ed6f
integration: test auth layer in grpcproxy tests
2017-06-09 09:36:16 -07:00
Anthony Romano
00da3ca725
integration: add lock and election services to proxy tests
2017-05-10 13:06:27 -07:00
Anthony Romano
8f40517adb
integration: close proxy's lease client
2017-05-03 13:22:24 -07:00
Anthony Romano
6dd8fb6f24
Revert "Merge pull request #7732 from heyitsanthony/lease-err-ka"
...
This reverts commit fbbc4a4979b256125d2238f6325ad86e7f1b58bd, reversing
changes made to f254e383859a2939d5929346f6595549f424f7c5.
Fixes #7851
2017-05-02 09:36:16 -07:00
Anthony Romano
2fd6df922a
integration: close proxy's lease client
2017-04-24 23:49:45 -07:00
Gyu-Ho Lee
1e3274dfa2
integration: use cluster adapter in tests
...
Signed-off-by: Gyu-Ho Lee <gyuhox@gmail.com>
2017-04-04 10:08:51 -07:00
Gyu-Ho Lee
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
Anthony Romano
f35d7d9608
integration: test namespacing on proxy layer
...
Hardcode a namespace over the testing grpcproxy.
2017-03-22 16:45:38 -07:00
Anthony Romano
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
fanmin shi
65b59f4423
grpcproxy: incorporate lease proxy into existing proxy framework
2017-02-16 11:50:59 -08:00
Anthony Romano
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
Anthony Romano
5278ea5ed0
integration: add grpc auth testing
2017-01-09 15:53:36 -08:00
Anthony Romano
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
Anthony Romano
3489fa82fb
integration: don't nest proxies in cluster_proxy mode
2016-09-01 15:21:52 -07:00
Gyu-Ho Lee
fb00a32b86
integration: fix races in global proxies
2016-08-16 19:43:31 -07:00
Anthony Romano
1cad722a6d
integration: support watch apis in cluster_proxy build
2016-07-25 09:34:36 -07:00
Anthony Romano
7b3d502b96
integration: build tag cluster_proxy for testing backed by proxy
2016-07-20 15:40:33 -07:00