Benjamin Wang
b8103b0fe4
test: fix the TestCtlV3ConsistentMemberList: set the wait-cluster-ready-timeout as 1ns
...
Signed-off-by: Benjamin Wang <wachao@vmware.com>
2023-09-30 14:21:26 +01:00
Benjamin Wang
0b8cad83d1
address the review comments
...
Signed-off-by: Benjamin Wang <wachao@vmware.com>
2023-09-29 12:58:18 +01:00
Benjamin Wang
628b45c099
test: add a test case to verify consistent memberlist on bootstrap
...
Signed-off-by: Benjamin Wang <wachao@vmware.com>
2023-09-28 20:04:47 +01:00
Wei Fu
8870cb3070
*: fix unconvert linter
...
Signed-off-by: Wei Fu <fuweid89@gmail.com>
2023-09-25 19:40:45 +08:00
Wei Fu
4704a5af3a
*: fix unused issue
...
Signed-off-by: Wei Fu <fuweid89@gmail.com>
2023-09-25 19:37:18 +08:00
Wei Fu
07effc4d0a
*: fix revive linter
...
Remove old revive_pass in the bash scripts and migirate the revive.toml
into golangci linter_settings.
Signed-off-by: Wei Fu <fuweid89@gmail.com>
2023-09-24 14:21:11 +08:00
Wei Fu
aa97484166
*: enable goimports in verify-lint
...
Signed-off-by: Wei Fu <fuweid89@gmail.com>
2023-09-21 21:14:09 +08:00
Wei Fu
df86cadd8b
*: fix ineffassign lint
...
Signed-off-by: Wei Fu <fuweid89@gmail.com>
2023-09-19 22:19:19 +08:00
Wei Fu
5e3910d96c
*: fix govet-shadow lint
...
Signed-off-by: Wei Fu <fuweid89@gmail.com>
2023-09-19 20:24:01 +08:00
Benjamin Wang
5444cdae69
remove all usage of v1 grpc-gateway
...
1. Manually updated go source file to remove the usage of v1 grpc-gateway;
2. Execute ./scripts/fix.sh
Signed-off-by: Benjamin Wang <wachao@vmware.com>
Signed-off-by: Wei Fu <fuweid89@gmail.com>
2023-09-18 11:22:16 +01:00
chenyahui
c0aa3b613b
Use any instead of interface{}
...
Signed-off-by: chenyahui <cyhone@qq.com>
2023-09-17 17:41:58 +08:00
Benjamin Wang
d687bd0989
test: simply the expected output for some curl test cases"
...
Signed-off-by: Benjamin Wang <wachao@vmware.com>
2023-09-11 13:50:26 +01:00
Benjamin Wang
18f70c2553
test: add test case to cover all election REST APIs
...
Signed-off-by: Benjamin Wang <wachao@vmware.com>
2023-09-10 20:52:40 +01:00
Benjamin Wang
7f2949bac1
test: split watch and election tests to separate files
...
Signed-off-by: Benjamin Wang <wachao@vmware.com>
2023-09-09 09:40:45 +01:00
Benjamin Wang
0b27aff79c
test: add test case to cover lock restful APIs
...
Signed-off-by: Benjamin Wang <wachao@vmware.com>
2023-09-08 17:04:01 +01:00
Benjamin Wang
0e972a1a24
Merge pull request #16545 from ahrtr/member_rest_20230905
...
test: add test cases to cover cluster RESTful APIs
2023-09-07 14:28:19 +01:00
Benjamin Wang
b2ee90c162
test: remove apiPrefix and withApiPrefix
...
Signed-off-by: Benjamin Wang <wachao@vmware.com>
2023-09-05 14:41:11 +01:00
Benjamin Wang
ce64fbe3f9
test: add test cases to cover cluster RESTful APIs
...
Signed-off-by: Benjamin Wang <wachao@vmware.com>
2023-09-05 14:09:52 +01:00
Benjamin Wang
dc8011570c
test: add e2e test cases to cover all auth related RESTful APIs
...
Signed-off-by: Benjamin Wang <wachao@vmware.com>
2023-09-03 20:26:25 +01:00
James Blair
7faab4aa44
Maintain a consistent naming standard for curlv3 tests.
...
Signed-off-by: James Blair <mail@jamesblair.net>
2023-09-03 12:04:50 +12:00
Benjamin Wang
144dcf1ad3
Merge pull request #16518 from ahrtr/auth_test_20230901
...
test: move all auth related test cases into a separate test file
2023-09-03 03:23:02 +08:00
Benjamin Wang
818561f43f
test: move all auth related test cases into a separate test file
...
Signed-off-by: Benjamin Wang <wachao@vmware.com>
2023-09-02 07:29:54 +01:00
Marek Siarkowicz
e09cc1e82c
Merge pull request #16516 from SagarRawat24/bookworm
...
update the debian12 and bookworm remove --v 1.0
2023-09-01 20:52:38 +02:00
sagar rawat
245b58a1e2
update the debian12 and bookworm remove --v 1.0
...
Signed-off-by: sagar rawat <sagarrawat24291@gmail.com>
2023-09-01 16:19:29 +05:30
Benjamin Wang
b4803fb395
test: refactor the existing KV RESTful test cases and also add new cases
...
Signed-off-by: Benjamin Wang <wachao@vmware.com>
2023-09-01 09:13:51 +01:00
Benjamin Wang
02c01f04d7
test: move all KV related RESTful APIs into a separate test file
...
Signed-off-by: Benjamin Wang <wachao@vmware.com>
2023-08-30 16:19:15 +01:00
Benjamin Wang
a7330692bd
test: add v3 curl test to cover all maintainence REST APIs
...
Signed-off-by: Benjamin Wang <wachao@vmware.com>
2023-08-30 15:09:40 +01:00
Benjamin Wang
7d95c68b48
test: support regular expression matching on the response
...
Signed-off-by: Benjamin Wang <wachao@vmware.com>
2023-08-25 15:00:35 +01:00
Marek Siarkowicz
5a54fe6dd1
Merge pull request #16457 from serathius/downgrade-membership
...
Add membership changes to downgrade tests
2023-08-22 12:14:40 +02:00
Benjamin Wang
30b5c37190
test: verify snap.Load() is sucessful
...
Otherwise the following snap.Data may run into nil pointer panic.
Signed-off-by: Benjamin Wang <wachao@vmware.com>
2023-08-22 10:08:34 +01:00
Marek Siarkowicz
1c0db872d9
Add membership changes to downgrade tests
...
Signed-off-by: Marek Siarkowicz <siarkowicz@google.com>
2023-08-22 10:18:30 +02:00
Geeta Gharpure
7b3daf612d
Minor update to test code to remove a local var
...
Signed-off-by: Geeta Gharpure <geetagh@amazon.com>
2023-08-21 19:13:36 +00:00
Geeta Gharpure
e4f239408c
Update test for v2 deprecation to verify membership match
...
Signed-off-by: Geeta Gharpure <geetagh@amazon.com>
2023-08-18 16:14:35 +00:00
Wei Fu
e4e05c5713
tests/*: redirect metrics into file
...
Redirect metrics data into file to reduce output.
Fix : #16422
Signed-off-by: Wei Fu <fuweid89@gmail.com>
2023-08-18 16:48:10 +08:00
Benjamin Wang
bbee33e20a
test: increase the timeout for the flaky test TestCtlV3AuthCertCNWithWithConcurrentOperation
...
Signed-off-by: Benjamin Wang <wachao@vmware.com>
2023-08-15 10:35:44 +01:00
Geeta Gharpure
b0887354e9
Update etcdutl restore to create v2 snapshot from v3
...
Signed-off-by: Geeta Gharpure <geetagh@amazon.com>
2023-08-11 21:47:34 +00:00
Chao Chen
8aeed09f2c
endpoints.Interpret returns Host:port as ServerName
...
Signed-off-by: Chao Chen <chaochn@amazon.com>
2023-07-28 16:19:54 -07:00
Chao Chen
e5f6673e1a
tests: exclude learner endpoints from MemberPromote
...
Signed-off-by: Chao Chen <chaochn@amazon.com>
2023-07-06 09:05:16 -07:00
caojiamingalan
eff9517a90
etcdserver: add cluster id check for hashKVHandler
...
Signed-off-by: caojiamingalan <alan.c.19971111@gmail.com>
2023-07-05 14:09:40 -05:00
Benjamin Wang
c6fd719ccf
Merge pull request #16029 from dusk125/revision-bump
...
Adding optional revision bump to snapshot restore
2023-07-03 07:01:53 +01:00
Allen Ray
be3e851264
Adding optional revision bump and mark compacted to snapshot restore
...
Signed-off-by: Allen Ray <alray@redhat.com>
2023-06-27 09:26:25 -04:00
Chao Chen
8e161b68f3
add runtime reconfiguration tests
...
Signed-off-by: Chao Chen <chaochn@amazon.com>
2023-06-26 09:09:39 -07:00
Marek Siarkowicz
455c0c6b81
Merge pull request #16041 from geetasg/pr
...
Update downgrade test to use a snapshot
2023-06-13 20:35:29 +02:00
Geeta Gharpure
06350aba43
Update downgrade test to use snapshot
...
Signed-off-by: Geeta Gharpure <geetagh@amazon.com>
2023-06-13 17:23:49 +00:00
Benjamin Wang
20c4247d2c
Merge pull request #16037 from chaochn47/uds_e2e_test
...
add uds test cases into e2e TestAuthority
2023-06-12 14:45:59 +08:00
Marek Siarkowicz
b80fb0a1ce
tests/e2e: Use epc.Etcdctl
...
Signed-off-by: Marek Siarkowicz <serathius@users.noreply.github.com>
2023-06-09 20:39:57 +02:00
Chao Chen
e6c8bf82e0
add uds test cases into e2e TestAuthority
...
Signed-off-by: Chao Chen <chaochn@amazon.com>
2023-06-08 15:54:30 -07:00
caojiamingalan
b9e30bf878
etcdserver: add e2e test to reproduce the incorrect hash issue when resuming scheduled compaction.
...
check ScheduledCompactKeyName and FinishedCompactKeyName
before writing hash to hashstore. If they do not match, then it means this compaction has once been interrupted and its hash value is invalid. In such cases, we won't write the hash values to the hashstore, and avoids the incorrect corruption alarm.
Signed-off-by: caojiamingalan <alan.c.19971111@gmail.com>
2023-06-07 19:54:09 -05:00
Benjamin Wang
52dfd4bbed
Merge pull request #15867 from chaochn47/auth_test_split_8
...
migrate e2e auth tests to common #8
2023-05-13 14:21:37 +08:00
Chao Chen
c846b087db
migrate e2e auth tests to common #8
...
Signed-off-by: Chao Chen <chaochn@amazon.com>
2023-05-12 22:51:47 -07:00