1499 Commits

Author SHA1 Message Date
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
9e7f83799f
Merge pull request #16564 from ahrtr/split_rest_20230909
test: split watch and election tests to separate files
2023-09-10 19:47:22 +01:00
sharathsivakumar
6dae088423
dependency: bump go.opentelemetry.io/otel/exporters/otlp/otlptrace/otlptracegrpc from 1.16.0 to 1.17.0
Signed-off-by: sharathsivakumar <mailssr9@gmail.com>
2023-09-09 16:20:31 +02:00
sharathsivakumar
5d1b0d1170
dependency: bump go.opentelemetry.io/contrib/instrumentation/google.golang.org/grpc/otelgrpc from 0.42.0 to 0.43.0
Signed-off-by: sharathsivakumar <mailssr9@gmail.com>
2023-09-09 16:20:13 +02:00
sharathsivakumar
e47d10fca7
dependency: bump golang.org/x/sys from 0.11.0 to 0.12.0
Signed-off-by: sharathsivakumar <mailssr9@gmail.com>
2023-09-09 16:19:54 +02: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
7192b6e379
Merge pull request #16357 from liggitt/fieldmask
dependency: bump github.com/grpc-ecosystem/grpc-gateway/v2 from v2.7.0 to v2.16.2
2023-09-07 15:05:19 +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
Jordan Liggitt
6599dec92b
dependency: bump github.com/grpc-ecosystem/grpc-gateway/v2 from v2.7.0 to v2.17.1
Signed-off-by: Jordan Liggitt <liggitt@google.com>
2023-09-07 08:49:57 -04:00
Benjamin Wang
1b87ec499e test: de-flake test case TestMemberList
get memberlist immediately before each time checking the members.

Signed-off-by: Benjamin Wang <wachao@vmware.com>
2023-09-06 08:24:41 +01:00
Benjamin Wang
14ecc7ab20
Merge pull request #16547 from ahrtr/fix_TestV3WatchProgressOnMemberRestart_20230905
test: de-flake test case TestV3WatchProgressOnMemberRestart
2023-09-06 07:43:16 +01:00
Benjamin Wang
5dd5fe35d0 test: de-flake test case TestV3WatchProgressOnMemberRestart
The case may be blocked on sending progress notification, so may
not be able to exit the goroutine.

Signed-off-by: Benjamin Wang <wachao@vmware.com>
2023-09-05 15:04:02 +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
8cca0bb2bc
Merge pull request #16527 from ahrtr/auth_20230903
test: add e2e test cases to cover all auth related RESTful APIs
2023-09-04 16:24:01 +01:00
Benjamin Wang
bc54bac381
Merge pull request #16523 from YaoC/deflake-TestV3AuthWithLeaseRevokeWithRootJWT
tests/integration: deflake TestV3AuthWithLeaseRevokeWithRootJWT
2023-09-04 15:09:00 +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
Yao Cheng
d2a93eb7ce tests/integration: deflake TestV3AuthWithLeaseRevokeWithRootJWT
Signed-off-by: Yao Cheng <chengyao09@hotmail.com>
2023-09-02 06:31:54 +00: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
James Blair
4ae1e9d669
depdendency: bump go.opentelemetry.io/otel/sdk from 1.16.0 to 1.17.0.
Signed-off-by: James Blair <mail@jamesblair.net>
2023-08-29 08:49:31 +12:00
James Blair
d472700749
depdendency: bump go.opentelemetry.io/otel from 1.16.0 to 1.17.0.
Signed-off-by: James Blair <mail@jamesblair.net>
2023-08-29 08:43:17 +12: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
Marek Siarkowicz
3d32447e8b
Merge pull request #16440 from fuweid/use-larger-runner
*: enable ubuntu-latest-8-cores runner for amd64 robustness workflow
2023-08-21 10:05:50 +02:00
Marek Siarkowicz
3371f26461
Merge pull request #16441 from geetasg/pr8
Update test for v2 deprecation to verify membership match
2023-08-21 09:50:53 +02:00
Jes Cok
52748f60f3 all: stop using math/rand.Seed
Fixes #16428.

Signed-off-by: Jes Cok <xigua67damn@gmail.com>
2023-08-20 16:34:44 +08: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
3f6a5c0bb1 *: enable larger runner
Use ubuntu-latest-8-cores larger runner to support lazyfs in robustness
CI.

Signed-off-by: Wei Fu <fuweid89@gmail.com>
2023-08-18 22:21:00 +08: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
5fd09b4b8b
Merge pull request #16417 from ahrtr/dependency_otelgrpc_20230814
dependency: bump go.opentelemetry.io/contrib/instrumentation/google.golang.org/grpc/otelgrpc from 0.37.0 to 0.42.0
2023-08-15 18:18:32 +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
Benjamin Wang
4a3af340b7 dependency: bump go.opentelemetry.io/otel/exporters/otlp/otlptrace/otlptracegrpc to v1.16.0
Signed-off-by: Benjamin Wang <wachao@vmware.com>
2023-08-15 09:14:44 +01:00
Benjamin Wang
2684447d0d dependency: bump go.opentelemetry.io/otel/sdk to 1.16.0
Signed-off-by: Benjamin Wang <wachao@vmware.com>
2023-08-15 09:11:50 +01:00
Benjamin Wang
38b2402971 dependency: bump go.opentelemetry.io/contrib/instrumentation/google.golang.org/grpc/otelgrpc from 0.37.0 to 0.42.0
Signed-off-by: Benjamin Wang <wachao@vmware.com>
2023-08-15 09:03:11 +01:00
Benjamin Wang
731048d728
Merge pull request #16376 from geetasg/pr6
Update etcdutl restore to create v2 snapshot from v3
2023-08-14 18:33:11 +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
James Blair
b6d123d08b
Update to golang 1.20 minor release.
Signed-off-by: James Blair <mail@jamesblair.net>
2023-08-11 15:03:48 +12:00
chaochn47
6757c444c5 2023-08-10 bump up dependencies
Signed-off-by: chaochn47 <chaochn@amazon.com>
2023-08-10 09:13:34 +08:00