a9996f8768
test: Deflake TestV3LeasePrmote integration test
2017-10-26 16:58:37 -07:00
0160cd76e5
Merge pull request #8772 from gyuho/shutdown
...
clientv3/integration: add TestBalancerUnderServerShutdownMutable*
2017-10-26 16:58:33 -07:00
0bfc6a0d92
clientv3/integration: add TestBalancerUnderServerShutdownMutable*
...
Signed-off-by: Gyu-Ho Lee <gyuhox@gmail.com >
2017-10-26 16:42:33 -07:00
cb188d0b26
etcdctl v3: adds the --once option to the lease keep-alive command
...
Fixes : #8719
2017-10-27 00:27:11 +01:00
f46c063285
Merge pull request #8774 from gyuho/sync
...
clientv3/integration: add waitPinReady
2017-10-26 15:13:46 -07:00
6a8d6b6ad9
clientv3/integration: use waitPinReady in blackhole test
...
Signed-off-by: Gyu-Ho Lee <gyuhox@gmail.com >
2017-10-26 15:12:27 -07:00
af53f54042
clientv3/integration: add waitPinReady
...
RPC should be sent to trigger 'readyWait' on new pin address.
Otherwise, endpoints other than ep[0] may be pinned.
Signed-off-by: Gyu-Ho Lee <gyuhox@gmail.com >
2017-10-26 15:11:10 -07:00
9b26bde147
Merge pull request #8769 from xiang90/bk
...
clientv3/integration: add put blackhole test
2017-10-26 15:10:35 -07:00
10c971db70
clientv3/integration: add put blackhole test
2017-10-26 14:09:51 -07:00
7d7e9b6e43
clientv3/integration: fix a todo in testNetworkPartitionBalancer
2017-10-25 22:54:44 -07:00
20f2914e13
Merge pull request #8763 from gyuho/temp
...
clientv3/integration: Get with context timeout
2017-10-25 17:52:00 -07:00
8fa35216b0
clientv3/integration: Get with context timeout
...
Address https://github.com/coreos/etcd/pull/8762#discussion_r147019068 .
Signed-off-by: Gyu-Ho Lee <gyuhox@gmail.com >
2017-10-25 17:43:29 -07:00
995d79a0fc
Merge pull request #8758 from gyuho/failure-test
...
clientv3/integration: add TestBalancerUnderServerShutdownWatch
2017-10-25 17:03:33 -07:00
cea7387b73
clientv3/integration: add TestBalancerUnderServerShutdownWatch
...
Current Watch integration tests haven't covered the balancer
switch behavior under server failures.
Signed-off-by: Gyu-Ho Lee <gyuhox@gmail.com >
2017-10-25 16:13:46 -07:00
c50cfbeaf6
Merge pull request #8759 from gyuho/mmm
...
integration: use variadic parameters for *Partition
2017-10-25 15:31:33 -07:00
3462d8ba70
Merge pull request #8760 from gyuho/name
...
clientv3/integration: rename partition tests
2017-10-25 15:00:11 -07:00
6f8c476599
clientv3/integration: rename partition tests
...
To be consistent with TestBalancerUnderShutdown*
Signed-off-by: Gyu-Ho Lee <gyuhox@gmail.com >
2017-10-25 14:57:16 -07:00
b6f770fc24
integration: use variadic parameters for *Partition
...
'member' type is not exported.
In network partition tests, we want do
InjectPartition(t, clus.Members[lead], clus.Members[lead+1])
Signed-off-by: Gyu-Ho Lee <gyuhox@gmail.com >
2017-10-25 14:55:03 -07:00
da0a387aac
auth: use binary search for checking root permission
...
authpb.User.Roles is sorted so we don't need a linear search for
checking the user has a root role or not.
2017-10-25 13:16:37 +09:00
fff1fb2ed7
Merge pull request #8756 from gyuho/tests
...
clientv3/integration: do not create v3 clients when not used
2017-10-24 17:38:12 -07:00
ff2ed93b5c
clientv3/integration: do not create v3 clients when not used
...
Add 'SkipCreatingClients' field to skip creating clients if not used.
Signed-off-by: Gyu-Ho Lee <gyuhox@gmail.com >
2017-10-24 16:59:41 -07:00
f42534cb21
Merge pull request #8755 from coreos/philips-patch-1
...
Documentation: add OpenStack to integrations.md
2017-10-24 15:35:39 -07:00
5032feaf22
Documentation: add OpenStack to integrations.md
2017-10-24 15:35:00 -07:00
d095a5c48b
Merge pull request #8752 from xiang90/fix_keepalive
...
clientv3/integration: fix keepalive by waiting for unhealthy
2017-10-24 10:12:13 -07:00
6277828f13
Merge pull request #8743 from dmyerscough/fix-example-snippet
...
Documentation/op-guide: Fix missing docker volume commands and specify the initial DATA_DIR
2017-10-24 07:03:26 -07:00
8d1f9c654a
clientv3/integration: fix keepalive by waiting for unhealthy
2017-10-24 00:56:09 -07:00
abc606f139
Documentation/op-guide: Fix missing docker volume commands and specifying the initial DATA_DIR usage
2017-10-23 22:40:43 -07:00
d16de1b914
Merge pull request #8742 from xiang90/debug_ordering
...
clientv3: fix balancer unresponsiveness
2017-10-23 21:57:33 -07:00
109f52e3d6
clientv3: fix balancer unresponsiveness
...
When no address is pined, and balancer ignores the addr Up due to
its current unhealthy state, balancer will be unresponsive forever.
This PR fixes it by doing a full reset when there is no pined addr,
thus re-trigger the Up call.
2017-10-23 21:19:21 -07:00
fdaa04e95f
Merge pull request #8749 from gyuho/docker-test
...
*: fix test docker images, switch travis to docker
2017-10-23 21:12:53 -07:00
2a49b04f09
clientv3/integration: fix typos
...
Signed-off-by: Gyu-Ho Lee <gyuhox@gmail.com >
2017-10-23 20:13:53 -07:00
0d76ede274
words: whitelist more
...
Signed-off-by: Gyu-Ho Lee <gyuhox@gmail.com >
2017-10-23 20:13:50 -07:00
d5fc37072c
travis: use docker
...
Signed-off-by: Gyu-Ho Lee <gyuhox@gmail.com >
2017-10-23 20:05:57 -07:00
cd4ca4065e
Dockerfile-test: use ubuntu 16.10 as base image
...
Debian base image from golang-stretch was breaking
shellcheck tests.
Signed-off-by: Gyu-Ho Lee <gyuhox@gmail.com >
2017-10-23 19:28:00 -07:00
1724cfa937
Merge pull request #8748 from gyuho/mmm
...
semaphore: add test scripts
2017-10-23 16:41:24 -07:00
249a2c30d2
Makefile: delete
...
moving to somewhere else
2017-10-23 16:35:04 -07:00
6337e4a1ec
semaphore: add test scripts
2017-10-23 16:35:00 -07:00
319658aef3
Merge pull request #8747 from gyuho/makefile
...
Makefile: clean up all redundant targets
2017-10-23 13:38:41 -07:00
997469a8cf
test: add 'VERBOSE' flag to enable client debugs
2017-10-23 13:13:28 -07:00
2b5733d742
Makefile: remove redundant commands
2017-10-23 13:13:11 -07:00
fa7c8f3f83
gitignore: add covdir
2017-10-23 10:34:30 -07:00
149ee61e02
Dockerfile-test: add codecov for coverage tests
2017-10-23 10:29:08 -07:00
b699c7cff7
Merge pull request #8737 from xiang90/fix_TestWatchKeepAlive
...
clientv3/integration: shorten keepalive timeout
2017-10-22 21:21:22 -07:00
97f0b28bdb
Merge pull request #8738 from gyuho/ccc
...
clientv3: fix balancer notify, stale endpoint handling, retry
2017-10-22 21:20:44 -07:00
2ae10a8184
Merge pull request #8741 from gyuho/ppp
...
clientv3/integration: match ErrTimeout in testNetworkPartitionBalancer
2017-10-22 19:16:55 -07:00
f65575073a
clientv3/integration: match ErrTimeout in testNetworkPartitionBalancer
...
For put, etcd can return timeout errors from network partitions.
2017-10-22 18:44:35 -07:00
5943229921
clientv3: wait for current pin endpoint down on notify
2017-10-22 18:02:58 -07:00
3899f9e3c5
clientv3/integration: shorten keepalive timeout
2017-10-22 18:02:15 -07:00
59af91fc69
clientv3: use hostPortError in down function
...
Signed-off-by: Gyu-Ho Lee <gyuhox@gmail.com >
2017-10-22 18:01:31 -07:00
63ab5addfa
clientv3: do not mark stale endpoints as unhealthy
2017-10-22 17:59:26 -07:00