Anthony Romano
c3c41234f1
integration: support querying member metrics
2016-08-08 23:45:50 -07:00
Gyu-Ho Lee
f1f31f1015
integration: add more lease tests
...
Fix https://github.com/coreos/etcd/issues/6102 .
2016-08-05 19:09:46 -07:00
Anthony Romano
9063ce5e3f
etcdserver, embed: stricter reconfig checking
...
Make --strict-reconfig-check a default and check if cluster is healthy when
adding a member.
2016-08-05 16:59:25 -07:00
Anthony Romano
1cad722a6d
integration: support watch apis in cluster_proxy build
2016-07-25 09:34:36 -07:00
Anthony Romano
e001848270
Merge pull request #5772 from heyitsanthony/integration-proxy
...
integration: build tag for proxy
2016-07-20 16:28:12 -07:00
Anthony Romano
7b3d502b96
integration: build tag cluster_proxy for testing backed by proxy
2016-07-20 15:40:33 -07:00
Anthony Romano
15aa64eb3c
Merge pull request #6009 from heyitsanthony/fix-progress-notify
...
v3rpc: don't elide next progress notification on progress notification
2016-07-20 13:46:11 -07:00
Anthony Romano
8c8742f43c
integration: change timeouts for TestWatchWithProgressNotify
...
a) 2 * progress interval was passing with dropped notifies
b) waitResponse was waiting so long that it expected a dropped notify
2016-07-20 13:23:44 -07:00
Anthony Romano
82ddeb38b4
integration: fix race in TestV3WatchMultipleEventsTxnSynced
...
Writes between watcher creation request and reply were being dropped.
Fixes #5789
2016-07-20 09:55:39 -07:00
Anthony Romano
8d897fd51f
integration: use unix sockets in TestEmbedEtcd
...
Was getting tcp port conflicts in semphore even after assigning unique ports.
Fixes #5953
2016-07-18 16:42:08 -07:00
Gyu-Ho Lee
4a5795b55f
integration: new ports for embed test
2016-07-15 16:47:32 -07:00
Anthony Romano
b3f8490660
integration: add FailFast(false) to failing tests
2016-07-14 17:58:58 -07:00
Anthony Romano
07ed4da2ff
integration: test grpc error equivalence with Error()
2016-07-14 17:58:49 -07:00
Anthony Romano
41a98dbd66
Merge pull request #5925 from heyitsanthony/embed-etcdmain
...
embeddable etcdmain
2016-07-13 13:51:19 -07:00
Anthony Romano
c0299ca6f4
integration: test embedded etcd
2016-07-13 10:40:03 -07:00
Xiang Li
6392ef5c44
integration: remove upgrade test for etcd0.4
2016-07-12 10:13:03 -07:00
Anthony Romano
c30f89f1d0
client/integration: test v2 client one shot operations
2016-07-07 15:58:58 -07:00
Xiang Li
234c30c061
Merge pull request #5880 from xiang90/put_prev
...
add options to return prev_kv
2016-07-05 21:03:56 -07:00
Xiang Li
12bf1a3382
*: rename preserveKVs to prevKv
2016-07-05 20:45:01 -07:00
Anthony Romano
c642430fae
integration: use RSA certs for testing
...
Some systems don't support EC due to patent issues, but the tests
should still work.
Fixes #5744
2016-07-05 13:21:21 -07:00
Xiang Li
40c4a7894d
*: support return prev deleted kv
2016-07-01 14:01:48 -07:00
Xiang Li
dced92f8bd
*: support watch with filters
...
Now user can filter events with types. The API is also extensible.
It might make sense for the proxy to filter out events based on
more expensive/customized filter.
2016-06-28 13:46:57 -07:00
Anthony Romano
13d0ea7f54
integration: use unix domain sockets for all connections
2016-06-24 21:18:19 -07:00
Anthony Romano
7abc8f21eb
integration: update tests for new grpc reconnection interface
2016-06-08 01:04:59 -07:00
Anthony Romano
1823702cc6
integration: bridge connections to grpc server
...
Tests need to disconnect the network connection for the client to check
reconnection paths but closing a grpc connection closes the logical connection.
To disconnect the client, instead have a bridge between the server and
the client which can monitor and reset connections.
2016-06-08 00:34:53 -07:00
Gyu-Ho Lee
1610391449
*: following changes for proto update
2016-06-07 13:33:03 -07:00
Anthony Romano
7dfe7db243
clientv3: panic if ActiveConnection tries to return non-nil connection
2016-06-03 10:25:20 -07:00
Xiang Li
755567cb3d
Merge pull request #5547 from xiang90/int
...
integration: always return active client
2016-06-02 15:52:38 -07:00
Xiang Li
bbfe7f401f
integration: always return active client
...
In the integration test, we sometimes stop/restart an etcd server.
Now our client has internal connection monitoring logic that might
set conn to nil when there is a connection failure and the redial
also fails.
Chaning randClient to always return a client with active connection
to make integration test reliable.
2016-06-02 14:49:32 -07:00
Anthony Romano
84a487f723
Revert "etcdserverpb: make RangeResponse.More an int64"
...
This reverts commit 84e1ab8765
.
2016-06-02 13:43:40 -07:00
Anthony Romano
84e1ab8765
etcdserverpb: make RangeResponse.More an int64
2016-06-01 17:10:23 -07:00
Anthony Romano
7709cd84bb
Merge pull request #5505 from heyitsanthony/v3rpc-watcher-close
...
v3rpc: fix race on ctrl channel when watcher stream closes
2016-05-31 14:24:10 -07:00
Gyu-Ho Lee
b0d4a0a9bd
integration: skip closed client in Terminate
2016-05-31 12:00:15 -07:00
Anthony Romano
41d3cea9b3
integration: test closing stream while creating watchers
2016-05-31 11:02:15 -07:00
Xiang Li
ac2859057a
integration: move cap enabling to init
2016-05-27 11:12:07 -07:00
Xiang Li
340df26883
Merge pull request #5435 from xiang90/cap
...
api: add v3rpc capability
2016-05-23 15:50:08 -07:00
Xiang Li
1c544c3ba5
api: add v3rpc capability
2016-05-23 14:45:08 -07:00
Gyu-Ho Lee
ddbe46543d
integration: add logs for debugging
2016-05-23 11:23:41 -07:00
Anthony Romano
73204e9637
etcdserver: wait for snapshots before closing raft
...
Fixes #5374
2016-05-17 15:04:25 -07:00
Anthony Romano
8ffbaef502
Merge pull request #5364 from heyitsanthony/fix-election-wait
...
integration: fix TestElectionWait
2016-05-16 10:30:17 -07:00
Anthony Romano
c21b885dd5
integration: fix TestElectionWait
...
elections are now per-session so waiting on the same election with the
same client will not block like before
Fixes #5362
2016-05-16 07:32:42 -07:00
Xiang Li
ec2ac72585
proxy: initial grpc kv service proxy
2016-05-13 23:00:29 -07:00
Xiang Li
c7c0e1eb7a
integration: remove parallel testing
...
We cannot do testing in parallel since leak testing will detect the goroutines
in other tests running in parallel.
2016-05-13 12:01:25 -07:00
Anthony Romano
120020fa9c
clientv3/concurrency: use session id for election keys to avoid deadlock
2016-05-13 10:07:35 -07:00
Anthony Romano
393725fe5f
clientv3/concurrency: ctx-ize Leader(), Resign(), and Unlock()
2016-05-13 10:07:35 -07:00
Gyu-Ho Lee
ef44f71da9
*: update LICENSE header
2016-05-12 20:51:48 -07:00
Xiang Li
a880e9c7cb
Merge pull request #5332 from xiang90/sl
...
*: cancel required leader streams when memeber lost its leader
2016-05-12 20:24:34 -07:00
Xiang Li
9c103dd0de
*: cancel required leader streams when memeber lost its leader
2016-05-12 19:42:21 -07:00
Gyu-Ho Lee
78ae4b92a6
integration: fix NewClientV3 error messages
2016-05-12 10:26:27 -07:00
Xiang Li
19221b33cc
*: etcd member rejects unary call with leader requirement when it does not have leader
2016-05-11 16:34:34 -07:00