Benjamin Wang
f40b676701
add e2e test cases to cover the maxConcurrentStreams
...
Signed-off-by: Benjamin Wang <wachao@vmware.com>
2022-07-06 03:43:46 +08:00
Benjamin Wang
ae9ca48a3f
remove duplicate certificate configuration for proxy test
...
The issue was introduced in the following commit,
093282f5ea
Signed-off-by: Benjamin Wang <wachao@vmware.com>
2022-06-30 10:26:36 +08:00
chavacava
f220bfe1e0
fix #14162
...
Signed-off-by: chavacava <salvadorcavadini+github@gmail.com>
2022-06-26 11:44:11 +02:00
Mikel Olasagasti Uranga
89637a4223
Tools/benchmark: migrate cheggaaa/pb.v1 to cheggaaa/pb/v3
...
etcdctl/ctlv3: migrate cheggaaa/pb.v1 to cheggaaa/pb/v3
This commit also changes the format of the progress bar, from using a
custom progress bar to the default provided by the library.
Old behaviour:
./benchmarkv1 put
0 / 10000 B ! 0.00%
3987 / 10000 Boooooooooooooom ! 39.87%
10000 / 10000 Boooooooooooooooooooooooooooooooooooooooooooo! 100.00% 1s
New behaviour:
./benchmark put
6536 / 10000 [----------------------->________________] 65.36% 7053 p/s
10000 / 10000 [---------------------------------------] 100.00% 7581 p/s
Signed-off-by: Mikel Olasagasti Uranga <mikel@olasagasti.info>
2022-06-20 15:47:23 +02:00
Piotr Tabor
88cd0fe695
Refresh minor dependencies.
...
Signed-off-by: Piotr Tabor <ptab@google.com>
2022-06-17 10:23:03 +02:00
Piotr Tabor
e7a84b69c8
Update zap to 1.21.
...
Signed-off-by: Piotr Tabor <ptab@google.com>
2022-06-17 10:05:25 +02:00
Piotr Tabor
8ac23dad88
Merge pull request #14125 from ptabor/20220615-update-grpc2
...
Update to grpc-1.47 (and fix the connection-string format)
2022-06-17 10:04:11 +02:00
Piotr Tabor
17c1dcd614
Update grpc to 1.47 and go-cmp to 0.5.8.
...
Signed-off-by: Piotr Tabor <ptab@google.com>
2022-06-17 08:57:22 +02:00
Benjamin Wang
8038e876d3
replace ioutil with os package
...
Signed-off-by: Benjamin Wang <wachao@vmware.com>
2022-06-17 10:11:30 +08:00
Marek Siarkowicz
2c12954158
Merge pull request #14049 from serathius/compact-hash
...
Calculate hash during compaction
2022-06-14 11:10:19 +02:00
Marek Siarkowicz
9612fc1194
tests: Unify TestCompactionHash and extend it to also Delete keys and Defrag
...
Signed-off-by: Marek Siarkowicz <siarkowicz@google.com>
2022-06-13 18:20:19 +02:00
Marek Siarkowicz
f5eadf5452
tests: Add tests for HashByRev HTTP API
...
Signed-off-by: Marek Siarkowicz <siarkowicz@google.com>
2022-06-13 18:20:19 +02:00
Marek Siarkowicz
1581eef888
tests: Add integration tests for compact hash
...
Signed-off-by: Marek Siarkowicz <siarkowicz@google.com>
2022-06-13 18:20:19 +02:00
Benjamin Wang
5f8cd5bd39
Replace all etcd versions with the centralized definitions
...
We have already defined all the constant etcd versions in the
centralized place api/version/version.go. So we should replace all
the versions with the centralized definitions.
2022-06-13 14:08:39 +08:00
Piotr Tabor
5097b33ab9
Rename etcdserver/etcderrors package to etcdserver/errors.
2022-05-20 14:32:04 +02:00
Piotr Tabor
fc6a6c3c27
Move etcdserver/errors.go to sepatate package to avoid cyclic dependencies.
2022-05-20 14:32:04 +02:00
Piotr Tabor
651de5a057
Rename EtcdServer.Id with EtcdServer.MemberId.
...
It was misleading and error prone vs. ClusterId.
2022-05-20 14:32:04 +02:00
Marek Siarkowicz
ee08770bfb
tests: Make common framework context aware
2022-05-16 14:35:44 +02:00
Benjamin Wang
29f090b5c0
Merge pull request #14029 from serathius/spawn-json-command
...
tests: Refactor spawn json command
2022-05-14 05:06:03 +08:00
Marek Siarkowicz
83a4309f3b
tests: Refactor spawn json command
2022-05-13 15:04:45 +02:00
Marek Siarkowicz
9beb29916e
tests: Extract cluster test cases
2022-05-13 14:41:53 +02:00
ahrtr
1e6163ba27
remove v2 http proxy in 3.6
2022-05-13 17:44:58 +08:00
Vimal Kumar
55f0c96fa0
tests: Migrate Txn tests to common functional test framework
2022-05-11 10:33:47 +05:30
Marek Siarkowicz
066e510731
Merge pull request #14020 from chaochn47/role_test
...
migrate e2e & integration role_test to common
2022-05-10 23:39:14 +02:00
Chao Chen
e004c91d36
migrate e2e & integration role_test to common
2022-05-10 10:17:16 -07:00
Marek Siarkowicz
e292e5b0b4
tests: Apply suggestions from code-review
2022-05-06 12:09:44 +02:00
Marek Siarkowicz
a65f7da5cb
server: Implement HA downgrade test
2022-05-06 12:09:44 +02:00
Marek Siarkowicz
c50fbb9ad6
tests: Retry validating version during downgrades
2022-05-06 12:09:44 +02:00
Marek Siarkowicz
c9af75dd8d
tests: Improve logging in downgrade tests
2022-05-06 12:09:43 +02:00
Marek Siarkowicz
7b04674d17
server: Move fatal calls out of internal function to make stacktrace cleaner
2022-05-06 12:09:43 +02:00
Marek Siarkowicz
75449c075d
tests: Allow sepecting member to in curl commands
2022-05-06 12:09:43 +02:00
Marek Siarkowicz
923096a2bb
tests: Simplify downgrade tests
2022-05-06 12:09:43 +02:00
Marek Siarkowicz
3f05f7de92
tests: Use restart in downgrade tests
2022-05-06 12:09:43 +02:00
Marek Siarkowicz
26f42e7a9e
server: Apply review comments and split basic handler
2022-05-05 09:52:14 +02:00
Marek Siarkowicz
722ec487df
server: Split metrics and health code
2022-05-05 09:52:14 +02:00
Marek Siarkowicz
600ee13ac0
server: Cover V3 health with tests
2022-05-05 09:52:14 +02:00
Marek Siarkowicz
0096d2ecdb
server: Remove unused NewClientHandler
2022-05-05 09:52:13 +02:00
eval-exec
755e2e7755
fix data race in testWatchOverlapContextCancel #14003
2022-05-01 21:12:38 +08:00
Piotr Tabor
00d6d40aea
Merge pull request #13940 from lavacat/leases-list-test
...
tests/common/lease: don't use revision to wait for leases
2022-04-29 10:12:18 +02:00
Piotr Tabor
52ea811af8
Merge pull request #13966 from VladSaioc/blocking-readyc
...
Fixed potential goroutine leak due to p.Ready() receive in pkg/proxy and dependents.
2022-04-28 16:12:02 +02:00
Piotr Tabor
7ebebb4ff6
Merge pull request #13969 from cmurphy/update-crypto
...
*: Update golang.org/x/crypto to latest
2022-04-28 12:35:14 +02:00
ahrtr
24002fb099
allocate unique port for each member in test cases
2022-04-26 12:32:00 +08:00
Bogdan Kanivets
67f3bb3ad4
tests/common/lease: don't use revision to wait for leases
...
Problem: TestLeaseGrantAndList is flaky because lists won't match at the end.
Test uses revision to verify that all members got leases. But checking for revision isn't enough.
Solution: use size of the list to stop polling.
2022-04-25 10:24:32 -07:00
Colleen Murphy
27bd78f6ab
Update golang.org/x/crypto to latest
...
Update crypto to address CVE-2022-27191.
The CVE fix is added in 0.0.0-20220315160706-3147a52a75dd but this
change updates to latest.
2022-04-25 09:52:12 -07:00
Piotr Tabor
887f95d0d3
Merge pull request #13963 from ptabor/20220412-verify-assert
...
Add verification consistent index is (nearly) never decreasing
2022-04-25 10:13:44 +02:00
Marek Siarkowicz
d6368a20cf
etcdctl: Remove V2 API commands
2022-04-24 12:08:42 +02:00
Piotr Tabor
d69e07dd3a
Verification framework and check whether cindex is not decreasing.
2022-04-22 12:32:05 +02:00
Vlad Saioc
00ca558167
Fixed goroutine leak on NewServer
2022-04-22 08:57:19 +02:00
ahrtr
6eef7ede40
Update conssitent_index when applying fails
...
When clients have no permission to perform whatever operation, then
the applying may fail. We should also move consistent_index forward
in this case, otherwise the consitent_index may smaller than the
snapshot index.
2022-04-20 21:44:48 +08:00
ahrtr
842fed52c7
use lineariziable range request in TestKVGet
2022-04-18 08:56:19 +08:00