Gyu-Ho Lee
0f9f452722
e2e: test /v3alpha,beta in v3 curl tests
...
Signed-off-by: Gyu-Ho Lee <gyuhox@gmail.com>
2017-11-15 02:14:07 -08:00
Gyu-Ho Lee
02be1ace59
e2e: replace v3alpha with v3beta in curl grpc-gateway tests
...
Signed-off-by: Gyu-Ho Lee <gyuhox@gmail.com>
2017-11-15 01:55:49 -08:00
zhesi.huang
0ce02abf59
etcdctl: fix snapshot status accidentally modified the db file
2017-11-09 01:07:48 +08:00
Gyu-Ho Lee
70f64bb1b6
Dockerfile-test: make Go version flexible, move other test Dockerfiles
...
Signed-off-by: Gyu-Ho Lee <gyuhox@gmail.com>
2017-11-02 06:59:02 -07:00
marco
aaf4a70cd0
etcdctl v3: e2e test for the --once option to the lease keep-alive command
...
Follow up #8775
2017-10-27 08:48:22 +01:00
Joe Betz
abc81d03a7
Dockerfile: Improve file permissions for docker build images using bind9
...
/etc/init.d/bind9 is run as the 'bind' user. This fixes file permissions
for the configuration files added by the Dockerfile to match.
2017-10-06 23:34:39 -07:00
Gyu-Ho Lee
5d3a5912eb
e2e/docker-dns-srv: enable peer, client TLS
...
Signed-off-by: Gyu-Ho Lee <gyuhox@gmail.com>
2017-10-05 15:15:02 -07:00
Gyu-Ho Lee
d57159f79a
e2e/docker-dns-srv: use 'etcd.local' as SRV, clean up
...
Signed-off-by: Gyu-Ho Lee <gyuhox@gmail.com>
2017-10-05 22:05:33 +00:00
Gyu-Ho Lee
e7e24dab64
e2e/docker-dns: enable client-cert-auth in /run.sh
...
Signed-off-by: Gyu-Ho Lee <gyuhox@gmail.com>
2017-10-05 22:05:33 +00:00
Gyu-Ho Lee
70aa30f281
e2e/docker-dns-srv: upgrade Go version to 1.9.1
...
Signed-off-by: Gyu-Ho Lee <gyuhox@gmail.com>
2017-10-05 10:40:29 -07:00
Gyu-Ho Lee
db1be7ebc0
e2e/docker-dns: clean up Procfile.tls
...
Signed-off-by: Gyu-Ho Lee <gyuhox@gmail.com>
2017-10-05 09:47:37 -07:00
Gyu-Ho Lee
85bbd0cead
e2e/docker-dns-srv: initial commit
...
Signed-off-by: Gyu-Ho Lee <gyuhox@gmail.com>
2017-10-05 09:47:37 -07:00
Gyu-Ho Lee
23a302364c
Makefile: initial commit
...
Initial commit to run DNS/SRV tests.
Signed-off-by: Gyu-Ho Lee <gyuhox@gmail.com>
2017-10-05 09:47:33 -07:00
Gyu-Ho Lee
863dfd1f0e
Merge pull request #8616 from mitake/peer-cn-auth
...
RFC: etcdmain, pkg: CN based auth for inter peer connection
2017-10-04 10:00:53 -07:00
Gyu-Ho Lee
0199bdc266
*: fix 'ineffassign' issues
...
Signed-off-by: Gyu-Ho Lee <gyuhox@gmail.com>
2017-10-03 10:14:33 -07:00
Hitoshi Mitake
5f7ce4f7e1
e2e: add a test case for --peer-cert-allowed-cn
2017-10-02 15:59:17 +09:00
Xiang Li
554298d429
Merge pull request #8594 from mitake/auth-priority
...
RFC: etcdserver: swap priority of cert CN and username + password
2017-09-26 08:41:30 -07:00
Hitoshi Mitake
f815d9a65b
e2e: add and update test cases for CN based auth
2017-09-26 16:12:43 +09:00
Hitoshi Mitake
6515a1dfd0
Merge pull request #8289 from mitake/auth-proxy
...
clientv3, etcdmain, proxy: support authed RPCs with grpcproxy
2017-09-22 16:14:37 +09:00
Hitoshi Mitake
8a4c8dc3b0
e2e: log an error of TempDir() during the preparation of cluster creation
2017-09-20 17:01:04 +09:00
Hitoshi Mitake
c50960e39a
e2e: enable tests related to auth and proxy
2017-09-20 15:27:26 +09:00
Anthony Romano
4366f35e1e
e2e: test no value is returned in TestCtlV3GetKeysOnly
...
Test was checking key name is returned, but was not correctly checking
no value is returned.
2017-09-13 09:50:24 -07:00
Hitoshi Mitake
e4c0e11702
e2e: enhance test cases for a way of handling empty keys
2017-09-13 14:25:52 +09:00
Gyu-Ho Lee
f65aee0759
*: replace 'golang.org/x/net/context' with 'context'
...
Signed-off-by: Gyu-Ho Lee <gyuhox@gmail.com>
2017-09-07 13:39:42 -07:00
Anthony Romano
9a84c84ea6
Merge pull request #8479 from heyitsanthony/ctlv2-backup-v3
...
ctlv2: backup --with-v3
2017-09-05 13:46:29 -07:00
Anthony Romano
079d578959
e2e: test etcdctl backup saves v3 db
2017-09-01 00:24:57 -07:00
Anthony Romano
b70263247d
e2e: launch etcdctl with api=3 when calling etcdctl3
...
Setting the ETCDCTL_API=3, then calling etcdctl was unwieldy and not
thread safe; all ctl v3 tests had to go through the ctlv3 wrapper and
could not easily mix with v2 commands.
2017-09-01 00:24:57 -07:00
Anthony Romano
e9cf07fa4d
e2e: test v2v3 emulation
2017-08-31 11:47:41 -07:00
Gyu-Ho Lee
52855bac49
*: bump up to Go 1.9 in tests
...
Signed-off-by: Gyu-Ho Lee <gyuhox@gmail.com>
2017-08-24 19:29:26 -07:00
Anthony Romano
7734b97b57
e2e: test etcd boots with unix peers
2017-08-17 19:59:09 -07:00
Anthony Romano
15c511ea6a
e2e: test booting etcd with multiple peer listeners
2017-08-17 11:25:40 -07:00
Gyu-Ho Lee
01f1013203
e2e: test 'lease list' command
...
Signed-off-by: Gyu-Ho Lee <gyuhox@gmail.com>
2017-08-14 14:18:57 -07:00
Gyu-Ho Lee
43ccc549fb
e2e: test 'endpoint hashkv' command
...
Signed-off-by: Gyu-Ho Lee <gyuhox@gmail.com>
2017-08-05 18:17:06 -07:00
Anthony Romano
5072530a80
e2e: remove SIGQUIT debugging for elect and lock
...
Causes etcdctl to hang with pending SIGQUIT signals according to
/proc/pid/status. The debugging wasn't very useful on travis
either; just totally remove it to get CI working again.
2017-08-03 15:38:06 -07:00
Gyu-Ho Lee
661da1e609
e2e: test /metrics, /health endpoint in grpc-proxy
...
Signed-off-by: Gyu-Ho Lee <gyuhox@gmail.com>
2017-07-31 14:07:59 -07:00
Gyu-Ho Lee
4267d368df
api/etcdhttp: serve error information in '/health', marshal health in JSON
...
Signed-off-by: Gyu-Ho Lee <gyuhox@gmail.com>
2017-07-27 15:36:59 -07:00
Gyu-Ho Lee
411ab276b0
e2e: test /metrics, /health endpoints
...
Signed-off-by: Gyu-Ho Lee <gyuhox@gmail.com>
2017-07-26 06:23:55 -07:00
fanmin shi
dfd3ef42cf
Merge pull request #8297 from fanminshi/fix_txn_ctl
...
etcdctl: print "del" instead of "delete" in txn interactive mode
2017-07-24 14:05:14 -07:00
fanmin shi
09f67a0d5e
e2e: change expectatation string in ctlTxn
2017-07-24 10:51:31 -07:00
Anthony Romano
e9a7f3551b
Merge pull request #8281 from heyitsanthony/san-rdns
...
transport: use reverse lookup to match wildcard DNS SAN
2017-07-22 08:02:57 -07:00
Anthony Romano
e9d5f75323
e2e/docker: docker image for testing wildcard DNS
2017-07-21 17:14:50 -07:00
Anthony Romano
954ec4d1a5
e2e: fix range indexing for args2env conversion
...
Was dropping the last argument in the slice.
2017-07-21 11:00:23 -07:00
Anthony Romano
5c6a6bdc5a
e2e: refactor to support -tags cluster_proxy
2017-07-21 11:00:22 -07:00
Gyu-Ho Lee
91470a8a54
e2e: test '/health' when alarm is raised
2017-07-18 15:51:30 -07:00
Anthony Romano
3614c5185d
e2e: update tests to use single space for etcdctl errors
2017-07-13 14:27:46 -07:00
Gyu-Ho Lee
a57405a958
Merge pull request #8153 from gyuho/leadership-transfer
...
*: expose Leadership Transfer API to clients
2017-07-06 13:00:08 -07:00
Hitoshi Mitake
db595887cf
e2e: add test cases for getting user and role information of user itself
2017-06-26 22:20:46 -07:00
Gyu-Ho Lee
d4289588ac
e2e: test 'move-leader' command
...
Signed-off-by: Gyu-Ho Lee <gyuhox@gmail.com>
2017-06-23 13:19:16 -07:00
Anthony Romano
e22d00a9f1
e2e: accept more kinds of errors in CRL test
...
Semaphore is failing with context exceeded errors and dial timeouts, only
returning an "Error: ..." from expect on etcdctl. So, only test for
"Error:" instead of grpc internal errors.
2017-06-22 13:27:36 -07:00
Anthony Romano
41e26f741b
e2e: test rejecting CRL'd client certs
2017-06-19 15:23:41 -07:00