32ea82cd3f
etcd-runner: fix govet -shadow warning
...
Signed-off-by: Gyuho Lee <gyuhox@gmail.com >
2018-02-21 10:22:12 -08:00
ca1885cf1d
tools/functional-tester: use Go 1.10
...
Signed-off-by: Gyuho Lee <gyuhox@gmail.com >
2018-02-19 02:27:37 -08:00
0210d27979
*: remove "./cmd/tools" in build commands
...
Signed-off-by: Gyuho Lee <gyuhox@gmail.com >
2018-02-14 11:26:38 -08:00
6ae9a7658a
tools/functional-tester: clean up Docker scripts
...
Signed-off-by: Gyuho Lee <gyuhox@gmail.com >
2018-02-14 11:26:32 -08:00
deb30b500f
tools/etcd-test-proxy: remove newline in "Fprintln"
...
Fix govet warnings with Go tip
```
tools/etcd-test-proxy/main.go:47: Fprintln arg list ends with redundant
newline
```
Signed-off-by: Gyuho Lee <gyuhox@gmail.com >
2018-02-08 13:35:51 -08:00
3bd0114c50
Merge pull request #9081 from gyuho/network-fault-test-with-proxy
...
*: run network fault tests with proxy
2018-02-06 09:51:34 -08:00
37546f74ab
*: move "version" to "internal/version"
...
Signed-off-by: Gyuho Lee <gyuhox@gmail.com >
2018-01-29 10:00:20 -08:00
80d15948bc
*: move "mvcc" to "internal/mvcc"
...
Signed-off-by: Gyuho Lee <gyuhox@gmail.com >
2018-01-26 11:14:41 -08:00
349a377a67
*: move "lease" to "internal/lease"
...
Signed-off-by: Gyuho Lee <gyuhox@gmail.com >
2018-01-26 11:09:29 -08:00
c61b660f13
tools/functional-tester: update README for local docker testing
...
Signed-off-by: Gyuho Lee <gyuhox@gmail.com >
2018-01-24 17:37:31 -08:00
a90695fd5f
etcd-tester: set advertise ports, delay w/ network faults
...
Signed-off-by: Gyuho Lee <gyuhox@gmail.com >
2018-01-24 17:37:09 -08:00
a912ddcf20
etcd-agent: use "pkg/transport.Proxy"
...
Signed-off-by: Gyuho Lee <gyuhox@gmail.com >
2018-01-24 17:37:09 -08:00
affcaef868
etcd-agent: remove "use-root"
...
Signed-off-by: Gyuho Lee <gyuhox@gmail.com >
2018-01-24 17:37:09 -08:00
8bba5367f0
functional-tester: remove old assets
...
Signed-off-by: Gyuho Lee <gyuhox@gmail.com >
2018-01-24 17:37:09 -08:00
849f88edbf
etcd-test-proxy: initial commit
...
Signed-off-by: Gyuho Lee <gyuhox@gmail.com >
2018-01-24 17:37:09 -08:00
fcfbeb30e8
tools/benchmark/cmd: fix fmt warning in import path
...
Signed-off-by: Gyuho Lee <gyuhox@gmail.com >
2018-01-24 15:26:17 -08:00
b596c3c119
tools/functional-tester: update "build" script
...
Signed-off-by: Gyuho Lee <gyuhox@gmail.com >
2018-01-24 15:26:17 -08:00
dee39bf786
internal/raftsnap: move "raftsnap" to internal
...
Signed-off-by: Gyuho Lee <gyuhox@gmail.com >
2018-01-24 10:36:04 -08:00
2b6fd3094f
*: rename "snap" to "raftsnap" package
...
Signed-off-by: Gyuho Lee <gyuhox@gmail.com >
2018-01-24 10:26:07 -08:00
7783aada6a
etcd-tester: update stresser weights with txn stresser
...
Large key writes (stressEntries[1].weight) should not take this
much weight. It was triggering "database size exceeded" errors.
Signed-off-by: Gyuho Lee <gyuhox@gmail.com >
2018-01-12 00:17:13 -08:00
6cf220c92a
etcd-tester: fix "writeTxn" key selection
...
Found when debugging https://github.com/coreos/etcd/issues/9130 .
Signed-off-by: Gyuho Lee <gyuhox@gmail.com >
2018-01-11 03:06:51 -08:00
e41c10347a
etcd-tester: add txn stresser
...
Signed-off-by: Gyu-Ho Lee <gyuhox@gmail.com >
2018-01-09 13:43:34 -08:00
3b7e2ce0ca
StatusFromError: handle return value of the function
...
status.FromError can return nil, false. We are handling the return values
most places in code but some places we aren't. Fixing it herewith.
Fixes #9117
2018-01-08 22:28:20 -05:00
e567d94fc2
tools/functional-tester: remove duplicate grpclog set
...
Signed-off-by: Gyuho Lee <gyuhox@gmail.com >
2018-01-02 11:00:42 -08:00
ce264e6000
Merge pull request #9041 from gyuho/etcd-tooling
...
tools/etcd-dump-*: add TODOs, --decode flag
2017-12-21 12:45:00 -08:00
931dfd7da8
etcd-dump-logs: take data-dir as argument, add TODO
...
Signed-off-by: Gyuho Lee <gyuhox@gmail.com >
2017-12-18 14:20:56 -08:00
af4d4ab16a
tools/etcd-dump-db: add "iterate-bucket --decode" flag
...
Signed-off-by: Gyuho Lee <gyuhox@gmail.com >
2017-12-18 14:20:52 -08:00
e21eac808e
etcd-tester: discard gRPC balancer logs
...
Signed-off-by: Gyuho Lee <gyuhox@gmail.com >
2017-12-18 13:39:55 -08:00
a20b24be7b
etcd-tester: enable initial corrupt check by default
...
Signed-off-by: Gyu-Ho Lee <gyuhox@gmail.com >
2017-11-27 09:41:53 -08:00
75110dd839
*: fix naked returns
...
Signed-off-by: Gyu-Ho Lee <gyuhox@gmail.com >
2017-11-10 18:46:15 -08:00
993a0cf569
tools: update metrics to use promhttp
...
Update function-tester/etcd-tester/main.go to use promhttp.Handler() instead of prometheus.Handler()
2017-11-10 09:47:49 -08:00
1c3567da90
tools/benchmark: ask for password when it is not supplied
2017-10-27 14:30:43 +08:00
0199bdc266
*: fix 'ineffassign' issues
...
Signed-off-by: Gyu-Ho Lee <gyuhox@gmail.com >
2017-10-03 10:14:33 -07:00
f8e63934b1
functional-tester: don't specify data dir on tester side
...
Data directory is added automatially in commit 2e3d27e
but test was
not updated.
2017-09-29 15:06:52 +10:00
9553afbb24
Merge pull request #8533 from gyuho/grpc
...
*: upgrade grpclog to LoggerV2
2017-09-12 03:53:04 -07:00
6f76d52a1a
*: deprecate grpc.Code, grpc.ErrorDesc
...
Signed-off-by: Gyu-Ho Lee <gyuhox@gmail.com >
2017-09-11 09:28:56 -07:00
3b3d392540
*: use grpclog.LoggerV2
...
Signed-off-by: Gyu-Ho Lee <gyuhox@gmail.com >
2017-09-08 15:26:16 -07:00
640c0e6ff4
tools/benchmark: replace 'golang.org/x/net/context' with 'context'
...
Signed-off-by: Gyu-Ho Lee <gyuhox@gmail.com >
2017-09-08 09:50:00 -07:00
9a726b424d
*: fix leaky context creation with cancel
...
Signed-off-by: Gyu-Ho Lee <gyuhox@gmail.com >
2017-09-07 13:39:42 -07:00
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
39f4502cc0
local-tester: use new bridge flags
2017-07-11 10:42:31 -07:00
07bc71b87c
bridge: make pass-through the default
...
Setting only latency options is a pain since every fault must
be disabled on the command line. Instead, by default start
as a standard bridge without any fault injection.
2017-07-11 10:42:31 -07:00
318e9c766f
*: replace 'boltdb' import paths with 'coreos/bbolt'
...
Signed-off-by: Gyu-Ho Lee <gyuhox@gmail.com >
2017-07-05 14:32:13 -07:00
7689a2535e
etcd-tester: add 'exit-on-failure'
...
Signed-off-by: Gyu-Ho Lee <gyuhox@gmail.com >
2017-06-20 16:04:48 -07:00
56db7e56f9
benchmark: refactor watch benchmark
2017-06-08 21:14:08 -07:00
887db5a3db
*: fix go tool vet -all -shadow errors
2017-06-03 21:32:36 -07:00
7acd43e8bb
Merge pull request #7862 from mitake/benchmark-mvcc-batch
...
benchmark, pkg: a new option of mvcc --batch for enlarging a single txn
2017-05-30 19:50:44 -07:00
99366c6b42
benchmark: a new option of mvcc --txn-ops for enlarging a single txn
...
This commit adds a new option --txn-ops to `benchmark mvcc put`. A
number specified with this option will be used as a number of written
keys in a single transaction. It will be useful for checking the
effect of the batching.
2017-05-26 11:10:24 +09:00
ebd6e8c4b1
benchmark: support multiple clients/conns in watch-latency benchmark
2017-05-24 11:31:43 -07:00
0afc51c762
Merge pull request #7939 from gyuho/test
...
etcd-tester: add '-failpoints' to configure gofail
2017-05-18 12:53:07 -07:00