5890bc8bd6
.travis,Makefile,functional: Bump go 1.12 version to v1.12.17
...
This version was already used to build the release v3.4.15.
2021-04-20 14:00:44 +02:00
d617055284
*: use Go 1.12.12
...
Signed-off-by: Gyuho Lee <leegyuho@amazon.com >
2019-10-23 10:11:02 -07:00
2af1caf1a5
functional test: fix typo in agent log
...
Fix typo in functional test agent log to avoid debugging confusion.
2019-08-20 15:23:13 -07:00
c9465f51d2
*: use Go 1.12.9
...
Signed-off-by: Gyuho Lee <leegyuho@amazon.com >
2019-08-15 14:40:46 -07:00
98462b52d1
*: use Go 1.12.8
...
Signed-off-by: Gyuho Lee <leegyuho@amazon.com >
2019-08-13 12:56:11 -07:00
629cb7aa5e
agent: fix a data race and deadlock
...
add 1-size buffer for `errc` to avoid deadlock of child goroutine
add a local variable to a void data race in `err`
when `case <-stream.Context().Done():` is taken
2019-08-08 12:23:08 -07:00
b9bea9def7
functional/agent: copy file, instead of renaming
...
To retain failure logs in CI testing.
Signed-off-by: Gyuho Lee <leegyuho@amazon.com >
2019-08-08 09:09:39 -07:00
d2675c13f4
functional/rpcpb: make client log less verbose
...
Signed-off-by: Gyuho Lee <leegyuho@amazon.com >
2019-08-08 09:09:34 -07:00
8230536171
functional.yaml: try lower snapshot count for flaky tests, error threshold
...
Signed-off-by: Gyuho Lee <leegyuho@amazon.com >
2019-08-08 09:09:29 -07:00
cb4507d15b
functional:update go.etcd.io/etcd link and go image registry for functional test
2019-08-05 23:28:45 -07:00
3ac41644cc
functional test: Update functional README.md
2019-08-05 22:12:50 -07:00
faa1d9d206
functional: deprecate "grpc.ErrClientConnClosing"
...
Signed-off-by: Gyuho Lee <leegyuho@amazon.com >
2019-08-05 14:38:35 -07:00
1c312cefbd
functional: use Go 1.12.7 as default
...
Signed-off-by: Gyuho Lee <leegyuho@amazon.com >
2019-08-05 12:40:50 -07:00
df1d3f7c6e
functional: remove "embed" support in tests
...
Signed-off-by: Gyuho Lee <leegyuho@amazon.com >
2019-08-02 15:58:21 -07:00
f1c7fd3d53
functional: add "LogLevel" flags
...
Signed-off-by: Gyuho Lee <leegyuho@amazon.com >
2019-08-01 15:58:01 -07:00
1caaa9ed4a
test: test update for Go 1.12.5 and related changes
...
Update to Go 1.12.5 testing. Remove deprecated unused and gosimple
pacakges, and mask staticcheck 1006. Also, fix unconvert errors related
to unnecessary type conversions and following staticcheck errors:
- remove redundant return statements
- use for range instead of for select
- use time.Since instead of time.Now().Sub
- omit comparison to bool constant
- replace T.Fatal and T.Fatalf in tests with T.Error and T.Fatalf respectively because the goroutine calls T.Fatal must be called in the same goroutine as the test
- fix error strings that should not be capitalized
- use sort.Strings(...) instead of sort.Sort(sort.StringSlice(...))
- use he status code of Canceled instead of grpc.ErrClientConnClosing which is deprecated
- use use status.Errorf instead of grpc.Errorf which is deprecated
Related #10528 #10438
2019-06-05 17:02:05 -04:00
34bd797e67
*: revert module import paths
...
Signed-off-by: Gyuho Lee <leegyuho@amazon.com >
2019-05-28 15:39:35 -07:00
9150bf52d6
go modules: Fix module path version to include version number
2019-04-26 15:29:50 -07:00
aa4313a55a
*: fix github links
2018-11-10 11:14:18 +09:00
bcde798fdd
*: path changes for moving to github/etcd-io/etcd
2018-09-03 21:57:23 +05:30
572d486c5b
*: update github links
...
Signed-off-by: Gyuho Lee <leegyuho@amazon.com >
2018-08-29 14:28:36 -07:00
07fcc26799
*: fix gofmt warnings with Go 1.11
...
Signed-off-by: Gyuho Lee <leegyuho@amazon.com >
2018-08-28 21:45:24 -07:00
d37f1521b7
*: update import paths to "go.etcd.io/etcd"
...
Signed-off-by: Gyuho Lee <leegyuho@amazon.com >
2018-08-28 17:47:55 -07:00
520bd5084e
integration, functional: Eliminate direct use of gRPC transport pkg
...
gRPC has moved the transport package to an internal-only directory. This
eliminates direct use of the transport package in the stress test in
favor of the error code from gRPC that represents a connection problem.
https://godoc.org/google.golang.org/grpc/internal/transport is the new
location for the package, which says it's not intended to be imported
directly. Instead, the maintainers suggested to use the code Unavailable
to detect a connection problem.
This change slightly reorganizes the stresser test error handling.
2018-07-19 10:55:57 -07:00
befc5cbb59
functional/scripts: use protoc 3.6.0
...
Signed-off-by: Gyuho Lee <gyuhox@gmail.com >
2018-07-10 10:17:10 -07:00
19de2b2177
functional/tester: fix trigger snapshot retry
...
Fix negative commit entry diff:
> {"level":"info","ts":1528740474.775448,"caller":"tester/case.go:299","msg":"trigger snapshot PROGRESS","retries":53,"committed-entries":-238470,"etcd-snapshot-count":10000,"start-revision":238470,"last-revision":0,"took":77.302668629,"error":"context deadline exceeded"}
Signed-off-by: Gyuho Lee <gyuhox@gmail.com >
2018-06-11 12:49:18 -07:00
25bc65794f
etcdctl/ctlv3: etcd v3.4 makes ETCDCTL_API=3 by default
2018-05-29 06:27:20 +05:30
7dabd6c255
*: rename internal packages in tools/testing
...
Signed-off-by: Gyuho Lee <gyuhox@gmail.com >
2018-05-21 07:45:34 -07:00
5235fc2106
functional/rpcpb: rename "SnapshotCount"
...
Signed-off-by: Gyuho Lee <gyuhox@gmail.com >
2018-05-18 14:41:01 -07:00
42a1d4c3b6
functional: remove unused parameters
...
Signed-off-by: Gyuho Lee <gyuhox@gmail.com >
2018-05-09 15:42:45 -07:00
d7c4c226fe
functional/tester: remove shadowed error variable
...
Signed-off-by: Gyuho Lee <gyuhox@gmail.com >
2018-05-09 15:39:44 -07:00
b1832d2f3c
functional/tester: configurable stresser weights
...
Signed-off-by: Gyuho Lee <gyuhox@gmail.com >
2018-05-08 16:18:45 -07:00
5f762a3193
functional/rpcpb: add stresser weights
...
Signed-off-by: Gyuho Lee <gyuhox@gmail.com >
2018-05-08 16:18:19 -07:00
e7e31e9529
functional: silence http server logs
...
Signed-off-by: Gyuho Lee <gyuhox@gmail.com >
2018-05-02 12:59:08 -07:00
78d0c8426e
functional: fix "unconvert" warnings
...
Signed-off-by: Gyuho Lee <gyuhox@gmail.com >
2018-04-30 15:32:16 -07:00
88c70d0ca9
embed,integration,snapshot: use "LogOutputs"
...
Signed-off-by: Gyuho Lee <gyuhox@gmail.com >
2018-04-25 13:27:31 -07:00
a6c30eab96
functional: rename to "log-outputs"
...
Signed-off-by: Gyuho Lee <gyuhox@gmail.com >
2018-04-25 13:20:26 -07:00
a113d6c160
functional/rpcpb: change to LogOutputs
...
Signed-off-by: Gyuho Lee <gyuhox@gmail.com >
2018-04-25 11:05:09 -07:00
c8d08a8898
functional/tester: prevent embedded etcd running with failpoints
...
Signed-off-by: Gyuho Lee <gyuhox@gmail.com >
2018-04-23 14:07:43 -07:00
b933603a43
functional: add TODO for network isolate tests
...
Signed-off-by: Gyuho Lee <gyuhox@gmail.com >
2018-04-19 17:44:16 -07:00
f5b8e1eb95
functional/tester: log start revision
...
Signed-off-by: Gyuho Lee <gyuhox@gmail.com >
2018-04-19 17:40:08 -07:00
8ee87787dd
functional: use strings for LogOutput
...
Signed-off-by: Gyuho Lee <gyuhox@gmail.com >
2018-04-17 13:03:09 -07:00
f63b5c15c7
functional/agent: fix etcd exec path check
...
Signed-off-by: Gyuho Lee <gyuhox@gmail.com >
2018-04-16 17:36:00 -07:00
2ee2a96055
functional/tester: use binary for tests for now
...
Signed-off-by: Gyuho Lee <gyuhox@gmail.com >
2018-04-16 17:36:00 -07:00
d1c2ae86ce
functional/tester: handle "raft.ErrProposalDropped"
...
Signed-off-by: Gyuho Lee <gyuhox@gmail.com >
2018-04-16 17:36:00 -07:00
f34c5dc902
functional/tester: run tests with embedded etcd
...
Signed-off-by: Gyuho Lee <gyuhox@gmail.com >
2018-04-16 17:36:00 -07:00
677894b4fa
functional/agent: support embedded etcd
...
Signed-off-by: Gyuho Lee <gyuhox@gmail.com >
2018-04-16 17:36:00 -07:00
33128104c0
functional/agent: handle "embed.Etcd", logger sync
...
Signed-off-by: Gyuho Lee <gyuhox@gmail.com >
2018-04-16 17:36:00 -07:00
575cf94852
functional/rpcpb: add "*Etcd.EmbedConfig", and logger fields
...
Signed-off-by: Gyuho Lee <gyuhox@gmail.com >
2018-04-16 17:36:00 -07:00
0a92ba66fa
functional/tester: fix racey map writes
...
Signed-off-by: Gyuho Lee <gyuhox@gmail.com >
2018-04-12 13:21:52 -07:00