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
Benjamin Wang
f4b5b052b9
Merge pull request #16379 from jmhbnz/weekly-dependencies
...
Bump golang.org/x/sys from 0.10.0 to 0.11.0
2023-08-07 07:40:44 +01:00
James Blair
f7126aa1c3
depdendency: bump golang.org/x/sys from 0.10.0 to 0.11.0.
...
Signed-off-by: James Blair <mail@jamesblair.net>
2023-08-06 19:02:15 +12:00
Marek Siarkowicz
a2bd589cdb
tests/robustness: Reduce minimal QPS to eliminate flakes
...
Signed-off-by: Marek Siarkowicz <siarkowicz@google.com>
2023-08-05 19:27:10 +02:00
=
418bab0ed4
dependency: bump golang.org/x/net 0.12.0 to 0.13.0
...
Co-authored-by: James Blair <mail@jamesblair.net>
Signed-off-by: = <abby.crimlis@outlook.com>
2023-08-04 09:09:16 +12:00
=
5896e40d23
dependency: bump go.uber.org/zap 1.24.0 to 1.25.0
...
Co-authored-by: James Blair <mail@jamesblair.net>
Signed-off-by: = <abby.crimlis@outlook.com>
2023-08-03 14:46:33 +12:00
Benjamin Wang
eb04f3ad8d
Merge pull request #16338 from chaochn47/bump-up-grpc
...
Fix 15877 and bump up gRPC from v1.52.0 to v1.57.0
2023-08-02 08:36:02 +01:00
Benjamin Wang
f3a03247df
Merge pull request #16265 from kensou97/expose-session-context
...
clientv3: add Ctx() to return context of session
2023-08-01 17:09:01 +01:00
Benjamin Wang
8524903935
Merge pull request #16223 from kensou97/fix-barrier
...
clientv3: fix barrier.Wait() still block after barrier.Release()
2023-08-01 17:08:17 +01:00
Chao Chen
24c6fb4b4d
Fix 15877 and bump up gRPC from v1.52.0 to v1.57.0
...
Signed-off-by: Chao Chen <chaochn@amazon.com>
2023-07-31 13:57:24 -07: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
e59e3d709c
dependency: bump google.golang.org/grpc from 1.51.0 to 1.52.0
...
Signed-off-by: Chao Chen <chaochn@amazon.com>
2023-07-27 13:25:12 -07:00
Marek Siarkowicz
eb32d9cccc
tests: Add support for lazyfs
...
Signed-off-by: Marek Siarkowicz <siarkowicz@google.com>
2023-07-27 13:42:38 +02:00
Marek Siarkowicz
828e789c18
tests: Make EtcdServerProcess substruct of proxyEtcdProcess to dummy methods when extending EtcdProcess interface
...
Signed-off-by: Marek Siarkowicz <siarkowicz@google.com>
2023-07-27 10:04:02 +02:00
Wei Fu
516e096a97
tests/robustness: enhance compact failpoint
...
If the cluster serves requests slowly, the database has few revision
number and then Compact won't trigger BatchCommit. Add a loop to check
the last revision is big enough to trigger panic.
Signed-off-by: Wei Fu <fuweid89@gmail.com>
2023-07-26 21:32:16 +08:00
ArkaSaha30
da58ac9847
Bump github.com/mattn/go-runewidth to v0.0.15
...
Signed-off-by: ArkaSaha30 <arkasaha30@gmail.com>
2023-07-26 13:02:43 +05:30
Benjamin Wang
8d85baec80
dependency: bump github.com/cheggaaa/pb/v3 from 3.1.2 to 3.1.4 for etcdctl and tests
...
Signed-off-by: Benjamin Wang <wachao@vmware.com>
2023-07-21 16:14:59 +01:00
John Jiang
51a22c21ff
tests: cleanup unnecessary assignment in cluster.go
...
Signed-off-by: John Jiang <john.sha.jiang@gmail.com>
2023-07-19 21:58:33 +08:00
zhangwenkang
c3e5201972
clientv3: fix barrier.Wait() still block after barrier.Release() in some cases
...
Signed-off-by: Wenkang Zhang <314830391@qq.com>
2023-07-18 15:48:48 +08:00
Wenkang Zhang
03d8fff0d8
clientv3: add Ctx() to return context of session
...
Signed-off-by: Wenkang Zhang <314830391@qq.com>
2023-07-18 15:22:53 +08:00
Rajalakshmi Girish
ea72194935
Fix flaky integration/clientv3/naming TestEtcdGrpcResolverRoundRobin
...
Signed-off-by: Rajalakshmi Girish <rajalakshmi.girish1@ibm.com>
2023-07-17 23:53:02 -07:00
Benjamin Wang
2c22ca7eba
dependency: bump golang.org/x/net from v0.11.0 to v0.12.0
...
Signed-off-by: Benjamin Wang <wachao@vmware.com>
2023-07-10 18:43:30 +01:00
Benjamin Wang
843ddb4b1e
dependency: bump golang.org/x/crypto from v0.10.0 to v0.11.0
...
Signed-off-by: Benjamin Wang <wachao@vmware.com>
2023-07-10 18:40:35 +01:00
Benjamin Wang
149256735d
dependency: bump golang.org/x/sys from v0.9.0 to v0.10.0
...
Signed-off-by: Benjamin Wang <wachao@vmware.com>
2023-07-10 18:38:16 +01: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
Benjamin Wang
93bfdba265
Merge pull request #16156 from kensou97/fix-barrier
...
clientv3: remove v3.WithFirstKey() in Barrier.Wait()
2023-07-06 08:29:21 +01: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
Tom Wieczorek
a8a9ebd281
auth: Support for EdDSA JWT algorithm
...
The golang-jwt library supports this already, so supporting it is just a
matter of wiring things up.
Signed-off-by: Tom Wieczorek <twieczorek@mirantis.com>
2023-07-05 11:33:08 +02:00
zhangwenkang
3d3e91c6e3
clientv3: remove v3.WithFirstKey() in Barrier.Wait()
...
fix the unexpected blocking when using Barrier.Wait(), e.g.
NewBarrier(client, "a").Wait() will block if key "a" is not existed but "a0" is existed, but it should return immediately.
Signed-off-by: zhangwenkang <zwenkang@vmware.com>
2023-07-04 22:01:54 +08:00
Marek Siarkowicz
534b1e5233
Merge pull request #16161 from serathius/robustness-limit-non-unique-writes
...
tests/robustness: Prevent to many concurrent non-unique writes which are causing linearization to timeout
2023-07-04 08:56:51 +02:00
Marek Siarkowicz
8fca6ebdb2
tests/robustness: Prevent to many concurrent non-unique writes which are causing linearization to timeout
...
Signed-off-by: Marek Siarkowicz <siarkowicz@google.com>
2023-07-03 14:39:23 +02:00