a38617d93a
Merge pull request #4992 from gyuho/e2e_clean
...
e2e: clean up, return all lines in error
2016-04-07 10:59:08 -07:00
2779341250
e2e: clean up, return all lines in error
...
1. change file names
2. now if sub-command errors, the test will receive all
lines from stdout and stderr.
Expected output:
```
read /dev/ptmx: input/output error (expected key2, got ["key1\r\n" "val1\r\n" ""])
```
3. change how we check GRPC timeout (only bypass timeout error when we give 0
timeout)
2016-04-07 10:41:56 -07:00
ac232ac9a7
scripts: updatedep.sh to update vendored dependencies
...
Running godep in the vendored cmd directory will try to pull etcd in
as a dependency. As a fix, this script safely vendors into cmd.
2016-04-07 10:28:33 -07:00
2e5ee26300
Merge pull request #4987 from hongchaodeng/ev
...
expose APIs to recognize event type
2016-04-07 10:18:25 -07:00
21eda79451
Merge pull request #4991 from endocode/kayrus/faq_doc
...
docs: fixed markdown formatting in faq.md
2016-04-07 09:59:35 -07:00
5c782a2086
docs: fixed markdown formatting in faq.md
2016-04-07 18:51:33 +02:00
aa11dafaf8
clientv3: expose event type in user API
...
- add another layer of abstraction in clientv3 for user, not expose internal storagepb ones
- provide commonly used routines IsCreate(), IsModify() on event
2016-04-07 09:47:04 -07:00
a5f341e886
Merge pull request #4989 from xiang90/clu
...
*: move Cluster interface to api
2016-04-07 08:33:52 -07:00
030865abe3
*: move Cluster interface to api
2016-04-07 08:05:47 -07:00
b137df77f1
Merge pull request #4985 from gyuho/unused
...
*: clean up unused vars, functions
2016-04-06 21:49:58 -07:00
6e6d64fb9b
*: clean up unused vars, functions
...
With help from https://github.com/dominikh/go-unused .
IsNetTimeoutError seems useful, so moved to pkg/netutil.
2016-04-06 21:33:55 -07:00
79a09e6857
Merge pull request #4984 from gyuho/watch-range
...
clientv3/integration: fix watch range test typo
2016-04-06 21:32:30 -07:00
e72591b4a2
clientv3/integration: fix watch range test typo
2016-04-06 21:12:07 -07:00
7408bc2504
Merge pull request #4948 from heyitsanthony/update-grpc
...
vendor: update grpc
2016-04-06 17:55:53 -07:00
82e58e602d
Merge pull request #4983 from gyuho/expect_line
...
pkg/expect: ExpectFunc, LineCount
2016-04-06 16:10:02 -07:00
679e5e379b
pkg/expect: ExpectFunc, LineCount
...
ExpectFunc to make expect more extensible. LineCount to be
able to check 'no output' command.
2016-04-06 15:56:00 -07:00
62990fb5fa
Merge pull request #4970 from tamird/fix-raft-past-election
...
raft: correct regression in `pastElectionTimeout`
2016-04-06 08:03:38 -07:00
68db18667a
raft: correct doc comment
2016-04-06 08:43:42 -04:00
5250784b09
raft: use rand.Intn instead of rand.Int and mod
...
This provides a better random distribution and is easier to read.
2016-04-06 08:43:42 -04:00
6b0eb9c3c0
godeps: update grpc dependency
2016-04-06 01:30:06 -07:00
34375ef851
Merge pull request #4950 from heyitsanthony/revendor
...
vendor: only vendor on emitted binaries
2016-04-05 21:36:51 -07:00
b1d41016b2
vendor: only vendor on emitted binaries
...
Moves the vendor/ directory to cmd/vendor. Vendored binaries are built
from cmd/, which is backed by symlinks pointing back to repo root.
2016-04-05 21:01:16 -07:00
b9e933b850
Merge pull request #4971 from gyuho/e2e_more
...
e2e: clean up to test tables, endpoint-health test
2016-04-05 14:34:35 -07:00
e3599e4145
e2e: clean up to test tables, endpoint-health test
2016-04-05 13:33:37 -07:00
01c303113d
Merge pull request #4964 from gyuho/get_sort_e2e
...
e2e: get with sort order, target
2016-04-04 23:22:04 -07:00
3e39f36b34
e2e: get with sort order, target
2016-04-04 23:10:03 -07:00
c3bca3739f
Merge pull request #4926 from mitake/auth-role-add
...
*: support adding role in auth v3
2016-04-04 18:44:16 -07:00
21096bf27f
Merge pull request #4963 from xiang90/ht
...
*: mv etcdhttp into api pkg
2016-04-04 18:40:29 -07:00
8662aaada4
Merge pull request #4958 from mitake/progrep-race
...
etcdserver, clientv3: let progressReportIntervalMilliseconds be private
2016-04-04 18:04:57 -07:00
2b17a3919c
*: support adding role in auth v3
2016-04-05 09:28:17 +09:00
88306c9fa7
etcdserver, clientv3: let progressReportIntervalMilliseconds be private
...
progressReportIntervalMilliseconds (old
ProgressReportIntervalMilliseconds) is accessed by multiple goroutines
and it is reported as race.
For avoiding this report, this commit wraps the variable with
functions. They access the variable with atomic operations so the race
won't be reported.
2016-04-05 09:12:17 +09:00
2c50eb240e
*: mv etcdhttp into api pkg
2016-04-04 16:31:35 -07:00
bfbe0fac8c
Merge pull request #4951 from gyuho/watch_prefix
...
e2e: watch by prefix
2016-04-04 15:11:32 -07:00
9de5b8db80
e2e: watch by prefix
2016-04-04 14:52:54 -07:00
b3247356c1
Merge pull request #4956 from heyitsanthony/txn-serialize
...
etcdserver: serializable transactions
2016-04-04 09:51:09 -07:00
98504fe863
Merge pull request #4959 from gyuho/ctl_doc
...
etcdctl: READMEv3 doc about prefix
2016-04-04 08:28:41 -07:00
1543e7bd95
etcdctl: READMEv3 doc about prefix
2016-04-04 07:00:49 -07:00
fab3c8e705
etcdserver: serializable transactions
...
Support case where txn doesn't have to go through quorum.
2016-04-04 04:21:42 -07:00
46e877b8bb
Merge pull request #4955 from mitake/e2e-test
...
e2e: import fmt in etcdctlv3_test.go
2016-04-04 01:37:21 -07:00
4ff81678ac
e2e: import fmt in etcdctlv3_test.go
2016-04-04 17:00:33 +09:00
b6ac21374e
Merge pull request #4952 from ajityagaty/snap_db_file_fix
...
snap: Do not complain about db file.
2016-04-03 17:54:03 -07:00
c12f263577
snap: Do not complain about db file.
...
Currently the snapshotter throws a warning if a file without the
.snap suffix is found. Fix it to allow known files to exist in
the snap folder.
2016-04-03 17:28:04 -07:00
e8a4ed01e2
Merge pull request #4949 from gyuho/delete
...
*: add del by prefix with e2e tests
2016-04-03 12:09:16 -07:00
3abd137dc5
Merge pull request #4945 from heyitsanthony/fix-exit-status
...
e2e, pkg/expect: distinguish between Stop and Close
2016-04-03 12:02:59 -07:00
dc420d660e
e2e, pkg/expect: distinguish between Stop and Close
...
Fixes #4928
2016-04-03 11:45:02 -07:00
9afae9e2c1
*: add del by prefix with e2e tests
2016-04-03 11:41:49 -07:00
bb69dd324e
Merge pull request #4939 from gyuho/e2e_txn_version
...
e2e: etcdctlv3 version, txn basic tests
2016-04-03 11:09:57 -07:00
73b0d398e4
Merge pull request #4946 from xiang90/b
...
vendor: update boltdb to 1.2.0
2016-04-03 10:59:51 -07:00
f4eaa3f8fb
pkg/expect: replace SendLine with Send method
2016-04-03 10:57:35 -07:00
c280871714
e2e: etcdctlv3 version, txn basic tests
2016-04-03 10:57:31 -07:00