1753623f87
integration: don't set v3 capability since now default
2017-03-02 14:02:09 -08:00
324d2383b8
integration: ensure leader is up in waitLeader() and clusterMustProgress()
...
The issue is caused by leader loss even after waitLeader() returns
which can happen if the test machine is flaky which triggers a leader loss
or the killed node is the leader since waitLeader() only scans followers in
TestRestartMember() and they can have the same older leader.
In those cases, clusterMustProgress() proceeds with no leader which triggers
the no leader error.
To get around that, use linearizable get in waitLeader() to ensure leader is up
and retries on kapi.create() in clusterMustProgress() to ensure it proceeds with
a leader.
FIX #7258
2017-02-28 09:17:03 -08:00
5278ea5ed0
integration: add grpc auth testing
2017-01-09 15:53:36 -08:00
6825ffe1a4
integration: use only digits in unix ports
...
Fix https://github.com/coreos/etcd/issues/6959 .
2017-01-05 12:34:54 -08:00
eaa5d9772f
integration: improve TestTransferLeader
...
so that it can check leader transition
2016-08-19 13:11:38 -07:00
5630a76766
integration: NewClusterV3 should launch cluster before creating clients
2016-08-18 14:05:21 -07:00
a205242ca5
integration: add 'TestTransferLeader/Stop'
2016-08-13 14:32:01 -07:00
0a00328a7c
integration: add network partition tests
2016-08-12 12:15:29 -07:00
e742ff331f
integration: test member removal which breaks active quorum is rejected
2016-08-11 11:14:14 -07:00
c3c41234f1
integration: support querying member metrics
2016-08-08 23:45:50 -07:00
7b3d502b96
integration: build tag cluster_proxy for testing backed by proxy
2016-07-20 15:40:33 -07:00
c30f89f1d0
client/integration: test v2 client one shot operations
2016-07-07 15:58:58 -07:00
13d0ea7f54
integration: use unix domain sockets for all connections
2016-06-24 21:18:19 -07:00
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
7dfe7db243
clientv3: panic if ActiveConnection tries to return non-nil connection
2016-06-03 10:25:20 -07:00
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
b0d4a0a9bd
integration: skip closed client in Terminate
2016-05-31 12:00:15 -07:00
ac2859057a
integration: move cap enabling to init
2016-05-27 11:12:07 -07:00
340df26883
Merge pull request #5435 from xiang90/cap
...
api: add v3rpc capability
2016-05-23 15:50:08 -07:00
1c544c3ba5
api: add v3rpc capability
2016-05-23 14:45:08 -07:00
ddbe46543d
integration: add logs for debugging
2016-05-23 11:23:41 -07:00
ec2ac72585
proxy: initial grpc kv service proxy
2016-05-13 23:00:29 -07:00
ef44f71da9
*: update LICENSE header
2016-05-12 20:51:48 -07:00
78ae4b92a6
integration: fix NewClientV3 error messages
2016-05-12 10:26:27 -07:00
8b52fd0d2d
clientv3: gracefully handle watcher resume on compacted revision
...
Fixes #5239
2016-05-03 09:30:53 -07:00
ec1fdd3938
integration: test with new server errors
2016-04-29 12:00:26 -07:00
bef5be42b5
integration: add quota backend bytes option
2016-04-28 12:15:31 -07:00
11ec94b7e8
Merge pull request #5218 from heyitsanthony/fix-issue-3699
...
integration: wait for ReadyNotify in Issue3699 test
2016-04-28 10:48:08 -07:00
85edd66c65
test: run e2e and integration tests in parallel
2016-04-28 10:17:40 -07:00
d814e9dc35
integration: wait for ReadyNotify in Issue3699 test
...
Fixes #5147
2016-04-27 22:04:07 -07:00
2c50eb240e
*: mv etcdhttp into api pkg
2016-04-04 16:31:35 -07:00
a403a94d7b
etcdserver: cap new keys on space alarm
2016-03-28 14:56:26 -07:00
70a9391378
*: enable v3 by default
2016-03-23 17:01:36 -07:00
900a61b023
*: http and https on the same port
2016-03-23 10:28:38 -07:00
bd832e5b0a
*: migrate Godeps to vendor/
2016-03-22 17:10:28 -07:00
dae7e009b0
*: godoc clean up
2016-03-19 14:19:23 -07:00
78132c9b5b
clientv3: use tls.Config in clientv3.Config
...
Fixes #4648
2016-03-07 16:08:40 -08:00
5f62c05a6d
clientv3: compose all clientv3 APIs into client struct
2016-02-25 18:13:26 -08:00
9523c2d29f
clientv3/integration: txn tests
2016-02-04 08:40:24 -08:00
db0b505de5
rafthttp: add requester to transport if peer does not exist
...
cluster integration now supports adding members with stopped nodes, too
Fixes #3699
2016-02-03 14:16:46 -08:00
cb30d6e6f8
Merge pull request #4393 from xiang90/fix_test
...
clientv3/integration: fix member remove
2016-02-02 21:10:40 -08:00
c7876d4111
clientv3/integration: fix member remove
...
Do not connect to the member to remove.
2016-02-02 20:49:00 -08:00
2919be91b9
Merge pull request #4387 from heyitsanthony/integration-cluster-speedup
...
integration: decrease timeout for isMemberBootstrapped
2016-02-02 14:45:18 -08:00
9ae8d85049
integration: decrease timeout for isMemberBootstrapped
...
Spending seconds(!) when it would fail anyway.
integration/TestV3 (before): 100.670
integration/TestV3 (after): 29.571
2016-02-02 14:34:58 -08:00
6f72b31316
integration: add test promote and move lease tests to lease_test.go
2016-02-02 13:45:11 -08:00
b74a42b286
clientv3: support unix endpoints
2016-02-01 22:24:42 -08:00
20461ab11a
*: fix many typos
2016-01-31 21:42:39 -08:00
60c037f1c3
integration: add client tls support
2016-01-29 16:38:11 -08:00
4634874d99
etcdmain, integration, v3rpc: consolidate grpc server setup
2016-01-29 16:38:11 -08:00
1767788074
*: expose integration functions for clientv3
2016-01-28 21:21:34 -08:00