Gyuho Lee
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
Matt Brannock
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
Gyuho Lee
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
Gyuho Lee
42a1d4c3b6
functional: remove unused parameters
...
Signed-off-by: Gyuho Lee <gyuhox@gmail.com>
2018-05-09 15:42:45 -07:00
Gyuho Lee
d7c4c226fe
functional/tester: remove shadowed error variable
...
Signed-off-by: Gyuho Lee <gyuhox@gmail.com>
2018-05-09 15:39:44 -07:00
Gyuho Lee
b1832d2f3c
functional/tester: configurable stresser weights
...
Signed-off-by: Gyuho Lee <gyuhox@gmail.com>
2018-05-08 16:18:45 -07:00
Gyuho Lee
e7e31e9529
functional: silence http server logs
...
Signed-off-by: Gyuho Lee <gyuhox@gmail.com>
2018-05-02 12:59:08 -07:00
Gyuho Lee
a6c30eab96
functional: rename to "log-outputs"
...
Signed-off-by: Gyuho Lee <gyuhox@gmail.com>
2018-04-25 13:20:26 -07:00
Gyuho Lee
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
Gyuho Lee
b933603a43
functional: add TODO for network isolate tests
...
Signed-off-by: Gyuho Lee <gyuhox@gmail.com>
2018-04-19 17:44:16 -07:00
Gyuho Lee
f5b8e1eb95
functional/tester: log start revision
...
Signed-off-by: Gyuho Lee <gyuhox@gmail.com>
2018-04-19 17:40:08 -07:00
Gyuho Lee
8ee87787dd
functional: use strings for LogOutput
...
Signed-off-by: Gyuho Lee <gyuhox@gmail.com>
2018-04-17 13:03:09 -07:00
Gyuho Lee
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
Gyuho Lee
d1c2ae86ce
functional/tester: handle "raft.ErrProposalDropped"
...
Signed-off-by: Gyuho Lee <gyuhox@gmail.com>
2018-04-16 17:36:00 -07:00
Gyuho Lee
f34c5dc902
functional/tester: run tests with embedded etcd
...
Signed-off-by: Gyuho Lee <gyuhox@gmail.com>
2018-04-16 17:36:00 -07:00
Gyuho Lee
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
Gyuho Lee
0a92ba66fa
functional/tester: fix racey map writes
...
Signed-off-by: Gyuho Lee <gyuhox@gmail.com>
2018-04-12 13:21:52 -07:00
Gyuho Lee
5ba4e7d533
functional/tester: fix unit tests
...
Signed-off-by: Gyuho Lee <gyuhox@gmail.com>
2018-04-12 10:49:48 -07:00
Gyuho Lee
ce19e0b4b5
functional: increase dial timeout
...
Signed-off-by: Gyuho Lee <gyuhox@gmail.com>
2018-04-11 20:18:17 -07:00
Gyuho Lee
554dfaa4ba
functional/tester: fix govet errors
...
Signed-off-by: Gyuho Lee <gyuhox@gmail.com>
2018-04-11 19:53:54 -07:00
Gyuho Lee
23ce3a1acc
functional: rename to "listCases"
...
Signed-off-by: Gyuho Lee <gyuhox@gmail.com>
2018-04-11 19:52:23 -07:00
Gyuho Lee
d275437c05
functional/tester: whitelist lease expire checker on snapshot restore
...
Signed-off-by: Gyuho Lee <gyuhox@gmail.com>
2018-04-11 19:52:23 -07:00
Gyuho Lee
f574a9aaed
functional/tester: add "EtcdClientEndpoints" to "Checker"
...
Signed-off-by: Gyuho Lee <gyuhox@gmail.com>
2018-04-11 19:52:23 -07:00
Gyuho Lee
e9c4bad2d1
functional/tester: add "Checker", remove compositeChecker
...
Signed-off-by: Gyuho Lee <gyuhox@gmail.com>
2018-04-11 19:52:23 -07:00
Gyuho Lee
448e0fc481
functional: wait election timeout after member add
...
Signed-off-by: Gyuho Lee <gyuhox@gmail.com>
2018-04-11 19:52:23 -07:00
Gyuho Lee
bd235ab8f9
functional/tester: save SnapshotInfo from response
...
Signed-off-by: Gyuho Lee <gyuhox@gmail.com>
2018-04-11 19:52:23 -07:00
Gyuho Lee
888b55e91b
functional/tester: implement fetchSnapshotCaseQuorum
...
Signed-off-by: Gyuho Lee <gyuhox@gmail.com>
2018-04-11 19:52:23 -07:00
Gyuho Lee
3815d6edb7
functional: rename "FailureCase" to "Case"
...
Later to add benchmark marks
Signed-off-by: Gyuho Lee <gyuhox@gmail.com>
2018-04-11 19:52:23 -07:00
Gyuho Lee
3c5147d906
functional/tester: implement "fetchSnapshotAndFailureQuorum"
...
Signed-off-by: Gyuho Lee <gyuhox@gmail.com>
2018-04-11 19:52:23 -07:00
Gyuho Lee
6b128bfb3b
functional/tester: rename files, adding LEADER_SNAPSHOT case
...
Signed-off-by: Gyuho Lee <gyuhox@gmail.com>
2018-04-11 19:52:23 -07:00
Gyuho Lee
e2bb03b39b
functional/tester: add sendOpWithResp for SnapshotInfo
...
Signed-off-by: Gyuho Lee <gyuhox@gmail.com>
2018-04-11 19:52:23 -07:00
Gyuho Lee
ca137afe8a
functional: rename to "SIGQUIT_AND_REMOVE_QUORUM_AND_RESTORE_LEADER_SNAPSHOT_FROM_SCRATCH"
...
Signed-off-by: Gyuho Lee <gyuhox@gmail.com>
2018-04-11 19:52:23 -07:00
Gyuho Lee
f9127dba9c
functional/tester: implement "new_FailureCase_SIGQUIT_AND_REMOVE_QUORUM_AND_RESTORE_SNAPSHOT_FROM_SCRATCH"
...
Signed-off-by: Gyuho Lee <gyuhox@gmail.com>
2018-04-11 19:52:23 -07:00
Gyuho Lee
67e398c86a
functional/cluster: handle "SIGQUIT_AND_REMOVE_QUORUM_AND_RESTORE_SNAPSHOT_FROM_SCRATCH"
...
Signed-off-by: Gyuho Lee <gyuhox@gmail.com>
2018-04-11 19:52:23 -07:00
Gyuho Lee
473a472607
functional/tester: fix "failureQuorum"
...
Signed-off-by: Gyuho Lee <gyuhox@gmail.com>
2018-04-11 19:52:23 -07:00
Gyuho Lee
77824c2ed6
functional: add "SIGQUIT_AND_REMOVE_QUORUM_AND_RESTORE_SNAPSHOT_FROM_SCRATCH" to functional.yaml
...
Signed-off-by: Gyuho Lee <gyuhox@gmail.com>
2018-04-11 19:52:23 -07:00
Gyuho Lee
f04902dbed
functional: rename etcd log paths
...
Signed-off-by: Gyuho Lee <gyuhox@gmail.com>
2018-04-11 19:52:23 -07:00
Gyuho Lee
4e7705e9e5
functional: add snapshot path to configuration
...
Signed-off-by: Gyuho Lee <gyuhox@gmail.com>
2018-04-11 19:52:23 -07:00
Gyuho Lee
512445f089
functional: do not run "SIGQUIT_AND_REMOVE_LEADER" for now
...
Signed-off-by: Gyuho Lee <gyuhox@gmail.com>
2018-04-11 10:24:42 -07:00
Gyuho Lee
d7bf471199
functional/tester: add TODO for member remove fail
...
Signed-off-by: Gyuho Lee <gyuhox@gmail.com>
2018-04-11 02:07:22 -07:00
Gyuho Lee
3c7ec0cdc8
functional/tester: update import path
...
Signed-off-by: Gyuho Lee <gyuhox@gmail.com>
2018-04-11 01:42:33 -07:00
Gyuho Lee
23b8c36ced
functional/tester: add "SIGQUIT_AND_REMOVE_LEADER_UNTIL_TRIGGER_SNAPSHOT"
...
Signed-off-by: Gyuho Lee <gyuhox@gmail.com>
2018-04-11 01:37:13 -07:00
Gyuho Lee
17351e5fe7
functional/tester: add "SIGQUIT_AND_REMOVE_LEADER"
...
Signed-off-by: Gyuho Lee <gyuhox@gmail.com>
2018-04-11 01:32:07 -07:00
Gyuho Lee
6a60a204ee
functional/tester: add "SIGQUIT_AND_REMOVE_ONE_FOLLOWER_UNTIL_TRIGGER_SNAPSHOT"
...
Signed-off-by: Gyuho Lee <gyuhox@gmail.com>
2018-04-11 01:27:39 -07:00
Gyuho Lee
724dea114c
functional/tester: clean up snapshot failure cases
...
Signed-off-by: Gyuho Lee <gyuhox@gmail.com>
2018-04-11 01:25:07 -07:00
Gyuho Lee
9057253d8c
functional: add "SIGQUIT_AND_REMOVE_ONE_FOLLOWER"
...
Signed-off-by: Gyuho Lee <gyuhox@gmail.com>
2018-04-11 01:21:09 -07:00
Gyuho Lee
53e7621026
functional/tester: remove unnecessary health check log
...
Signed-off-by: Gyuho Lee <gyuhox@gmail.com>
2018-04-09 14:57:13 -07:00
Gyuho Lee
c16e411d51
functional/tester: fix shadowed "err" variable
...
Signed-off-by: Gyuho Lee <gyuhox@gmail.com>
2018-04-09 10:19:31 -07:00
Gyuho Lee
bc1fd92579
functional: rename to "SIGTERM/SIGQUIT*"
...
Signed-off-by: Gyuho Lee <gyuhox@gmail.com>
2018-04-08 23:17:53 -07:00
Gyuho Lee
d8a2d3a209
functional/tester: delay after injecting "kill" to trigger election
...
Signed-off-by: Gyuho Lee <gyuhox@gmail.com>
2018-04-09 13:40:00 -07:00