Gyuho Lee
9d3809646a
functional-tester/agent: use "proxy.Server"
...
Signed-off-by: Gyuho Lee <gyuhox@gmail.com>
2018-04-05 11:06:38 -07:00
Gyuho Lee
7f812ca8e1
pkg/proxy: move from "pkg/transport"
...
Signed-off-by: Gyuho Lee <gyuhox@gmail.com>
2018-04-05 11:06:30 -07:00
Gyuho Lee
a831d15751
functional-tester/tester: configure heartbeat interval, election timeout
...
Signed-off-by: Gyuho Lee <gyuhox@gmail.com>
2018-04-05 10:39:07 -07:00
Gyuho Lee
451395449a
functional-tester/tester: add "heartbeat-interval", "election-timeout"
...
Signed-off-by: Gyuho Lee <gyuhox@gmail.com>
2018-04-05 10:37:16 -07:00
Gyuho Lee
32c34b582a
functional-tester/agent: clean up handler logs
...
Signed-off-by: Gyuho Lee <gyuhox@gmail.com>
2018-04-05 10:29:31 -07:00
Gyuho Lee
190119569a
functional-tester/rpcpb: add "trigger snapshot" cases for network faults
...
Signed-off-by: Gyuho Lee <gyuhox@gmail.com>
2018-04-05 10:29:31 -07:00
Gyuho Lee
f4cd33b83c
functional-tester/tester: add network fault test cases with snapshot trigger
...
Signed-off-by: Gyuho Lee <gyuhox@gmail.com>
2018-04-05 10:29:28 -07:00
Gyuho Lee
95119a769e
Merge pull request #9529 from gyuho/fff
...
functional-tester: expect no client error in liveness mode
2018-04-04 18:18:07 -07:00
Gyuho Lee
3ae47a8619
functional-tester/tester: expects no error in NO_FAIL_WITH_STRESS
...
Signed-off-by: Gyuho Lee <gyuhox@gmail.com>
2018-04-04 17:30:12 -07:00
Gyuho Lee
49d4fbdde9
Merge pull request #9528 from gyuho/no-op
...
functional-tester: add liveness mode
2018-04-04 15:47:53 -07:00
Gyuho Lee
394189d399
functional-tester/tester: remove unused "nopStresser"
...
Signed-off-by: Gyuho Lee <gyuhox@gmail.com>
2018-04-04 14:13:38 -07:00
Gyuho Lee
a7ec9f28e3
functional-tester/tester: fix "Desc" calls
...
Signed-off-by: Gyuho Lee <gyuhox@gmail.com>
2018-04-04 13:53:43 -07:00
Gyuho Lee
d7b468ec6f
test: bump up test timeout to 20m
...
Recently, we've added bunch of tests...
Signed-off-by: Gyuho Lee <gyuhox@gmail.com>
2018-04-04 13:45:12 -07:00
Gyuho Lee
83739dc9cb
functional-tester/tester: clean up stresser logic for liveness mode
...
Signed-off-by: Gyuho Lee <gyuhox@gmail.com>
2018-04-04 13:42:30 -07:00
Gyuho Lee
a43bd84631
functional-tester/tester: implement liveness mode failure case
...
Signed-off-by: Gyuho Lee <gyuhox@gmail.com>
2018-04-04 13:29:24 -07:00
Gyuho Lee
33753d4ae6
functional-tester/tester: add "failure-delay-ms" for configurable triggerElectionDur
...
Signed-off-by: Gyuho Lee <gyuhox@gmail.com>
2018-04-04 13:15:50 -07:00
Gyuho Lee
ca310c5918
functional-tester/rpcpb: add "FailureDelayMs"
...
Signed-off-by: Gyuho Lee <gyuhox@gmail.com>
2018-04-04 13:11:01 -07:00
Gyuho Lee
0c20902d13
functional-tester/tester: add "newFailureNoFailWithNoStressForLiveness"
...
Signed-off-by: Gyuho Lee <gyuhox@gmail.com>
2018-04-04 13:07:45 -07:00
Gyuho Lee
808966a7e9
functional-tester/tester: refactor cluster code to support liveness mode
...
Signed-off-by: Gyuho Lee <gyuhox@gmail.com>
2018-04-04 13:04:21 -07:00
Gyuho Lee
b3fea7ed53
functional-tester/tester: refactor "Failure" to support liveness mode
...
Signed-off-by: Gyuho Lee <gyuhox@gmail.com>
2018-04-04 13:03:57 -07:00
Gyuho Lee
3510e9b94c
functional-tester/tester: pass "*rpcpb.Member" to stresser
...
Signed-off-by: Gyuho Lee <gyuhox@gmail.com>
2018-04-04 13:03:06 -07:00
Gyuho Lee
88a0f4c6b2
functional-tester/rpcpb: add liveness mode for failure case
...
Signed-off-by: Gyuho Lee <gyuhox@gmail.com>
2018-04-04 12:37:51 -07:00
Gyuho Lee
8219c7f273
Makefile: clean up "gopath.proto"
...
Signed-off-by: Gyuho Lee <gyuhox@gmail.com>
2018-04-04 10:52:01 -07:00
Gyuho Lee
e37d6a2842
CHANGELOG-3.4: add recent Raft and logger changes
...
Signed-off-by: Gyuho Lee <gyuhox@gmail.com>
2018-04-04 10:46:21 -07:00
Xiang Li
949c6fef35
Merge pull request #9137 from absolute8511/raft-proposal-cancel
...
raft: Propose in raft node wait the proposal result so we can fail fast while dropping proposal
2018-04-04 09:23:17 -07:00
Gyuho Lee
d8dc29e5d8
Merge pull request #9519 from gyuho/heap
...
lease: remove unnecessary O(log N) heap operation when nothing is expiry
2018-04-03 15:22:52 -07:00
Gyuho Lee
d7cf2cc03f
Merge pull request #9525 from gyuho/ft
...
functional-tester: use "clientv3" for stressers
2018-04-03 15:21:48 -07:00
Gyuho Lee
75f562224a
Merge pull request #9524 from gyuho/kv
...
etcdserverpb: document "Hash" and "HashKV" more clearly
2018-04-03 14:08:12 -07:00
Gyuho Lee
6d69e16a0a
functional-tester/tester: fix txn op, nil clientv3
...
Signed-off-by: Gyuho Lee <gyuhox@gmail.com>
2018-04-03 13:44:39 -07:00
Gyuho Lee
a80a1a6356
functional-tester/tester: use "*clientv3.Client" for lease stresser
...
Signed-off-by: Gyuho Lee <gyuhox@gmail.com>
2018-04-03 13:33:35 -07:00
Gyuho Lee
00ed41d175
functional-tester/tester: use "clientv3" for key stresser
...
Signed-off-by: Gyuho Lee <gyuhox@gmail.com>
2018-04-03 13:23:04 -07:00
Gyuho Lee
7cc0d689b8
functional-tester/tester: use clientv3.Client for consistency checks
...
Signed-off-by: Gyuho Lee <gyuhox@gmail.com>
2018-04-03 12:57:26 -07:00
Gyuho Lee
5423100def
functional-tester: add "Member.Compact" method
...
Signed-off-by: Gyuho Lee <gyuhox@gmail.com>
2018-04-03 12:45:19 -07:00
Gyuho Lee
11818b5f40
etcdserverpb: document "Hash" and "HashKV" more clearly
...
Explain where the computation happens (e.g. "Hash" for all buckets
and "HashKV" for "key" bucket).
Signed-off-by: Gyuho Lee <gyuhox@gmail.com>
2018-04-03 11:50:20 -07:00
Gyuho Lee
a729b88463
functional-tester/rpcpb: support grpc.DialOption for "CreateEtcdClient"
...
Signed-off-by: Gyuho Lee <gyuhox@gmail.com>
2018-04-03 11:40:36 -07:00
Gyuho Lee
358a89c7e9
functional-tester/tester: provide correct latency information to failure
...
Signed-off-by: Gyuho Lee <gyuhox@gmail.com>
2018-04-03 11:21:19 -07:00
Gyuho Lee
f25188d35b
Merge pull request #9523 from gyuho/fff
...
functional-tester/tester: use "*rpcpb.Member" directly to dial
2018-04-03 11:12:37 -07:00
Gyuho Lee
d45c3f172b
functional-tester/tester: fix cluster_test
...
Signed-off-by: Gyuho Lee <gyuhox@gmail.com>
2018-04-03 11:12:12 -07:00
Gyuho Lee
629e5a0e7a
functional-tester/tester: use "*rpcpb.Member" directly
...
Signed-off-by: Gyuho Lee <gyuhox@gmail.com>
2018-04-03 11:02:00 -07:00
Gyuho Lee
b55a5a9771
functional-tester/rpcpb: support extra dial options
...
Signed-off-by: Gyuho Lee <gyuhox@gmail.com>
2018-04-03 10:55:47 -07:00
Gyuho Lee
c2731cde54
functional-tester/agent: rename "logger" field
...
Signed-off-by: Gyuho Lee <gyuhox@gmail.com>
2018-04-03 09:56:46 -07:00
Gyuho Lee
eb0c66f912
functional-tester/tester: rename logger field
...
Signed-off-by: Gyuho Lee <gyuhox@gmail.com>
2018-04-03 09:56:42 -07:00
Gyuho Lee
c9161b1f5c
functional-tester/agent: fix govet shadow in Go tip
...
Signed-off-by: Gyuho Lee <gyuhox@gmail.com>
2018-04-03 06:36:08 -07:00
Vincent Lee
f0dffb4163
raft: Propose in raft node wait the proposal result so we can fail fast while dropping proposal.
2018-04-03 11:04:09 +08:00
Gyuho Lee
9c62d7b2d1
leaes: remove unnecessary O(log N) operation when nothing is expiry
...
Since heap is already sorted, we can just check first element
to see if anything is expiry, rather than popping and pushing
it back. If nothing is expiry, pop operation is unnecessary.
Signed-off-by: Gyuho Lee <gyuhox@gmail.com>
2018-04-02 16:34:34 -07:00
Gyuho Lee
a6984c53de
lease: add "expireExists"
...
Signed-off-by: Gyuho Lee <gyuhox@gmail.com>
2018-04-02 16:34:34 -07:00
Gyuho Lee
f9b7a012b5
lease: add "TestLeaseQueue"
...
Signed-off-by: Gyuho Lee <gyuhox@gmail.com>
2018-04-02 16:34:30 -07:00
Gyuho Lee
51b8d68a7f
lease: godoc "LeaseWithTime", change field name to "id"
...
No need to have "lease" in field name.
Signed-off-by: Gyuho Lee <gyuhox@gmail.com>
2018-04-02 14:58:34 -07:00
Gyuho Lee
2aa3decc38
Merge pull request #9418 from mgates/use_heap_to_track_lease_expirations
...
lease: Add a heap to optimize lease expiration checks
2018-04-02 14:45:49 -07:00
Gyuho Lee
e001ecb48d
Merge pull request #9518 from gyuho/eee
...
pkg/transport: log cert file not found in server-side
2018-04-02 14:45:27 -07:00