13 Commits

Author SHA1 Message Date
Xiang Li
4d2227e5ab e2e: combine cfg.isClientTLS and cfg.isClientBoth 2016-03-23 15:30:58 -07:00
Xiang Li
9d55420a00 e2e: add an e2e test for TLS/non-TLS on the same port 2016-03-23 13:43:47 -07:00
Anthony Romano
d0f6f49085 e2e: quorum cleanup
If a test gets data without quorum, it should only have one node in the
test cluster to avoid reading stale data.

Fixes #4694
2016-03-05 20:16:07 -08:00
Anthony Romano
9809da95da client: correctly unmarshal roles in ListRoles 2016-03-05 19:42:58 -08:00
Anthony Romano
2a0d64bb4a client: correctly unmarshal users in ListUsers 2016-03-05 19:42:58 -08:00
Gyu-Ho Lee
07030d59dd e2e: use endpoints flag 2016-03-05 12:28:31 -08:00
Anthony Romano
0926a91179 e2e: test granting roles to users 2016-03-04 16:09:01 -08:00
Gyu-Ho Lee
7cae2ae2a0 e2e: compare output in Go string literal
I manually print out the command outputs when the issue
was reproduced, and checked they are matching when compared as
Go string literals (UTF-8), but not when compared with regex.

Fixes https://github.com/coreos/etcd/issues/4480.
2016-02-16 13:57:49 -08:00
Anthony Romano
6bbb916b47 e2e: fix race in etcdctl watch tests 2016-02-05 12:27:05 -08:00
Gyu-Ho Lee
2e051c1c61 e2e: check regexp.MatchReader return, curl SSL issue
1. proc.ExpectRegex returns the result of regexp.MatchReader,
which does not return error even if there is no match of regex.
This fixes it by checking the boolean value and if the boolean
value is false, it returns error.

2. Adds more tests and finishes coreos#4259.

3. When we do the regex match correctly, curl request through SSL
returns error. For the purpose of debugging, I changed it to log
without failing the tests. etcdctl with SSL works fine.

4. Add // TODO: 'watch' sometimes times out in Semaphore CI environment but
works fine in every other environments.

5. increase test time
2016-02-01 12:20:53 -08:00
Gyu-Ho Lee
bde5f7f20f e2e: add more etcdctl tests 2016-01-29 16:20:12 -08:00
Gyu-Ho Lee
713b56c860 e2e: increase watch timeout 2016-01-28 23:24:04 -08:00
Gyu-Ho Lee
6491bae27f e2e: etcdctl test for proxy no-sync
For https://github.com/coreos/etcd/issues/3894.
2016-01-28 16:01:29 -08:00