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
Sam Batschelet
c27634c215
e2e: test auth over grpc json
2017-06-15 13:41:47 -04:00
Anthony Romano
3fcb8336aa
e2e: update cluster-health test for new etcdctl output
2017-06-09 13:55:16 -07:00
Anthony Romano
d8935903a2
e2e: add role get and role list e2e tests
...
Wasn't being covered
2017-06-06 16:21:00 -07:00
Anthony Romano
887db5a3db
*: fix go tool vet -all -shadow errors
2017-06-03 21:32:36 -07:00
Anthony Romano
e0653043ff
e2e: make CtlV2GetRoleUser non-quorum
...
GetUser doesn't go through quorum, so issuing a user get to any member
of a cluster may fetch stale data from a slow member. Instead, use a
single member cluster for the test.
Fixes #7993
2017-06-01 10:13:47 -07:00
Anthony Romano
85095760ff
e2e: test txn over grpc json
2017-05-31 12:08:06 -07:00
Anthony Romano
dac2c10ce9
etcdctl, e2e: use 0xe7cd as argument separator in cov-enabled etcdctl
...
Fixes #7980
2017-05-25 16:11:52 -07:00
Gyu-Ho Lee
c3a191b38d
e2e: use version.Cluster for release test
...
Signed-off-by: Gyu-Ho Lee <gyuhox@gmail.com>
2017-05-24 15:20:18 -07:00
Hitoshi Mitake
881903b6d3
e2e: add a new test case for protecting watch with auth
2017-05-20 11:34:45 +09:00
Anthony Romano
8f0d4092c3
e2e: Stop() lock/elect etcdctl process if Close times out
...
Gets backtrace by sending SIGQUIT if Close hangs after sending a SIGINT.
2017-05-16 11:31:23 -07:00
Anthony Romano
b9f5a00b13
e2e: more debugging output for lock and elect etcdctl tests
...
Meant to debug #6464 and #6934
Dumps the output from the etcd/etcdctl servers and SIGQUITs to get a
golang backtrace in case of a hanged process.
2017-05-12 10:22:29 -07:00
Hitoshi Mitake
e1306bff8f
*: simply ignore ErrAuthNotEnabled in clientv3 if auth is not enabled
...
Fix https://github.com/coreos/etcd/issues/7724
2017-04-19 11:27:14 +09:00
Anthony Romano
d42c1f5131
Merge pull request #7646 from andelf/fix-unix-socket-url
...
*: fix a bug in handling unix socket urls
2017-04-05 09:24:38 -07:00
andelf
4f27981c46
*: fix a bug in handling unix socket urls
...
Now use url.Host + url.Path as unix socket path
Fixes #7644
2017-04-05 14:33:13 +08:00
Hitoshi Mitake
a204b14503
e2e: add a test case for the --open-ended option
2017-04-04 17:28:59 +09:00
Xiang Li
54928f5deb
Merge pull request #7524 from mitake/del-and-revoke-role
...
auth: changes of managing roles and users
2017-03-23 15:10:10 -07:00
Hitoshi Mitake
8d0d942c47
e2e: add a test case for invalid management of root user and role
2017-03-23 16:47:58 +09:00
Hitoshi Mitake
0c87467f69
e2e: add a test case role delete and revoke
2017-03-23 16:47:44 +09:00
Hitoshi Mitake
5594f695bc
e2e, etcdserver: fix wrong usages of ordinal
...
They must be "ordinary".
2017-03-21 23:50:16 +09:00
Anthony Romano
21ac657e67
e2e: force endpoint for member removal
...
e2e tests use different invocations of etcdctl, so the endpoint used to get
the member list will not necessarily be the same to make the remove call.
Instead, select an endpoint that is not being remove, and connect with that.
2017-03-17 16:24:54 -07:00
Anthony Romano
13e36f963d
e2e: don't remove member used to connect to etcd cluster
...
Fixes #7204
2017-03-08 15:58:45 -08:00
fanmin shi
1f413cff64
e2e: add etcdctl to e2e test
2017-02-28 17:08:17 -08:00
Anthony Romano
15d8ca7726
Merge pull request #7375 from heyitsanthony/fix-e2e-cov
...
e2e: fix -tags cov builds
2017-02-24 13:01:11 -08:00
Anthony Romano
2ec8572a8c
e2e: fix -tags cov builds
...
Wasn't compiling.
2017-02-24 09:47:31 -08:00
Gyu-Ho Lee
3eaf2f6558
*: remove trailing space, upgrade test on v3.1
2017-02-23 16:19:24 -08:00
fanmin shi
f203a61469
e2e: unshadow err and remove bogus err checking in spawnWithExpects()
2017-02-17 14:47:24 -08:00
fanmin shi
07129a6370
*: add and expose StopSignal field in ExpectProcess
...
add and expose StopSignal to ExpectProcess allows user
to define what signal to send on ExpectProcess.close()
coverage testing code sets StopSignal to SIGTERM allowing
the test binary to shutdown gracefully so that it can generate
a coverage report.
2017-02-17 14:47:06 -08:00
fanmin shi
1d521556ae
e2e: modify e2e to run code coverage
2017-02-15 09:51:50 -08:00
Hitoshi Mitake
cd9f0a1721
e2e: add a case for CommonName auth of v3 API
2017-01-31 17:22:12 +09:00
Xiang Li
5dace5f6dc
Merge pull request #7242 from xiang90/fix_test
...
e2e: do not remove the member we connect to
2017-01-26 16:59:03 -08:00
Xiang Li
78540c5e7b
e2e: do not remove the member we connect to
2017-01-26 15:43:27 -08:00
sharat
37fb2c454f
e2e: test put command with '--ignore-lease' flag
2017-01-25 03:12:48 +05:30
Xiang Li
96e0f50673
etcdctlv3: snapshot restore works with lease key
2017-01-20 09:37:39 -08:00
Xiang Li
26d99269c0
Merge pull request #6898 from mitake/auth-maintain
...
RFC, WIP: etcdserver: let maintenance services require root role
2017-01-14 11:22:14 -08:00
Hitoshi Mitake
783eaf9de6
e2e: add cases for defrag and snapshot with authentication
2017-01-14 19:36:24 +09:00
Gyu-Ho Lee
5dffa38fb2
e2e: test put command with '--ignore-value' flag
2017-01-13 15:13:18 -08:00
Anthony Romano
acfa601075
e2e: dump stack on ctlTest timeout
...
Figure out which process is blocking for Elect/Lock test timeouts.
2017-01-06 02:03:55 -08:00
fanmin shi
8242049a33
Merge pull request #7076 from fanminshi/fix_e2e_test
...
e2e: unset ETCDCTL_API env var before running e2e tests
2016-12-29 14:37:25 -08:00
fanmin shi
b741452d03
e2e: unset ETCDCTL_API env var before running u2e tests
...
existing ETCDCTL_API env var causes e2e to fail some of its tests. ETCDCTL_API should not be set before e2e tests start.
the tests themselves should set ETCDCTL_API properly.
2016-12-29 11:21:15 -08:00
Gyu-Ho Lee
4e1010c1b9
e2e: poll '/version' in release upgrade tests
...
Fix https://github.com/coreos/etcd/issues/7065 .
2016-12-29 10:52:40 -08:00
Anthony Romano
12d930b40f
Merge pull request #7068 from heyitsanthony/fix-v2-health
...
v2http: submit QGET in health endpoint if no progress
2016-12-28 14:30:31 -08:00
Anthony Romano
46062efa78
e2e: test cluster-health
2016-12-28 12:20:55 -08:00