ahrtr
f978da4f4f
move the newClientCfg into clientv3 package so as to be reused by both etcdctl and v3discovery
2022-03-24 06:18:25 +08:00
Manuel Rüger
c544b2a2a5
Update go to 1.17.8
2022-03-23 20:11:12 +01:00
eval-exec
8d01ac2816
remove endpoints length check in TestValidateSecureEndpoints()
2022-03-23 23:37:31 +08:00
EXEC
ad78a74c42
Update client/pkg/transport/tls_test.go
...
Co-authored-by: Marek Siarkowicz <marek.siarkowicz@protonmail.com>
2022-03-23 23:37:31 +08:00
eval-exec
88e1d6b126
using subtests for TestValidateSecureEndpoints()
2022-03-23 23:37:31 +08:00
EXEC
4786a72cfc
Update client/pkg/transport/tls_test.go
...
Co-authored-by: Marek Siarkowicz <marek.siarkowicz@protonmail.com>
2022-03-23 23:37:31 +08:00
eval-exec
df71f59c0e
close idle connections
2022-03-23 23:37:31 +08:00
eval-exec
983ee82c98
add test for transport/tls.go:ValidateSecureEndpoints()
2022-03-23 23:37:31 +08:00
EXEC
bd7d09255b
Fix panic in etcd validate secure endpoints #13810
...
`ValidateSecureEndpoints()` should call `t.DialContext()` instead of `t.Dial()`, because `t.Dial` is `nil`
2022-03-23 23:37:31 +08:00
Sahdev Zala
3254125e6c
Merge pull request #13809 from kkkkun/cleanup-deprecated-commands
...
Removing deprecated commands in etcdctl & etcdutl
2022-03-23 11:21:01 -04:00
Hitoshi Mitake
43e39d362d
Merge pull request #13301 from mitake/jwt-exp-log
...
server/auth: avoid logging for JWT token
2022-03-23 22:39:28 +09:00
ahrtr
bbc81bb6b7
enhance etcd-dump-db to display keys in meta more friendly
2022-03-23 18:32:13 +08:00
Marek Siarkowicz
4504daa6b0
Merge pull request #13830 from ahrtr/add_ut_newClientCfg
...
Add unit test for newClientCfg
2022-03-23 11:22:42 +01:00
Marek Siarkowicz
3b2f0589ff
Merge pull request #13835 from ahrtr/update_3.5_changelog
...
Update changelog to cover the fix for the watchablestore runlock bug
2022-03-23 11:15:32 +01:00
ahrtr
780e3ae935
update 3.5 changelog to cover the fix for the watchablestore runlock bug
2022-03-23 14:24:48 +08:00
Kun Zhang
1649c9dfc2
Removing deprecated commands in etcdctl & etcdutl
2022-03-23 11:05:52 +08:00
ahrtr
3780435831
added unit test for newClientCfg
2022-03-22 19:07:40 +08:00
Marek Siarkowicz
5fe4d551df
Merge pull request #13754 from serathius/common-noquorum
...
tests: Migrate noquorum kv tests to common framework
2022-03-22 10:54:38 +01:00
Marek Siarkowicz
6d39359a29
Merge pull request #13828 from mitake/test-v3-auth-old-rev-concurrent
...
tests/integration: re-enable TestV3AuthOldRevConcurrent
2022-03-21 15:41:06 +01:00
Marek Siarkowicz
44aad460db
tests: Migrate noquorum kv tests to common framework
2022-03-21 14:53:29 +01:00
Hitoshi Mitake
7a0c254b73
tests/integration: re-enable TestV3AuthOldRevConcurrent
2022-03-21 22:25:58 +09:00
Danielle Lancashire
3416042c50
tests: migrate user tests to common fw
2022-03-21 12:46:00 +00:00
Danielle Lancashire
adae7a659e
tests/framework: Add User operations
2022-03-21 12:44:51 +00:00
Marek Siarkowicz
4787e71921
Merge pull request #13823 from nic-chen/tests/ctl-alarm
...
tests: Migrate alarm tests to common framework
2022-03-20 12:16:47 +01:00
nic-chen
c6488a2c56
fix review
2022-03-20 10:09:27 +08:00
nic-chen
89146aa157
chore: delete useless file
2022-03-20 02:06:42 +08:00
nic-chen
bb7856090a
fix: set cluster size to 1 to avoid unstable
2022-03-20 02:01:30 +08:00
nic-chen
527edd39a6
fix alarm test
2022-03-20 01:40:53 +08:00
nic-chen
02516ab266
Merge branch 'main' into tests/ctl-alarm
...
# Conflicts:
# tests/framework/e2e/etcdctl.go
# tests/framework/interface.go
2022-03-19 16:36:15 +08:00
nic-chen
e9fa171665
fix test fail
2022-03-19 16:31:19 +08:00
Marek Siarkowicz
1b208aa9d9
Merge pull request #13812 from endocrimes/dani/leases
...
Migrate e2e Lease tests to common
2022-03-18 19:23:26 +01:00
nic-chen
3e657bdc50
tests: Migrate key value Get to common framework
2022-03-19 00:51:29 +08:00
Danielle Lancashire
87740f6c7b
tests: Migrate TestCtlV3LeaseRevoke.* to common
2022-03-18 16:47:42 +00:00
Danielle Lancashire
ab3353582d
tests/framework: Add Client.LeaseRevoke
2022-03-18 16:47:42 +00:00
Danielle Lancashire
36279e0797
tests: migrate TestCtlV3LeaseKeepAliveOnce.* to common
2022-03-18 16:47:42 +00:00
Danielle Lancashire
353b011f59
tests/framework: Add Client.LeaseKeepAliveOnce
2022-03-18 16:47:42 +00:00
Danielle Lancashire
c12e03c8e6
tests: migrate TestCtlV3LeaseTestTimeToLiveExpired.* to common
2022-03-18 16:47:42 +00:00
Danielle Lancashire
b50f10299b
tests/framework: Add PutOptions
...
Put can take a leaseid to associate a value with a lease. This adds the
ability for tests to make use of this.
2022-03-18 16:47:42 +00:00
nic-chen
dca5874d44
tests: Migrate key value Get to common framework
2022-03-19 00:46:42 +08:00
Danielle Lancashire
b7beaf9c62
tests: migrate TestCtlV3LeaseGrantLeases.* to common
2022-03-18 16:43:55 +00:00
Danielle Lancashire
68e6493977
tests/framework: add Client.LeaseList
2022-03-18 16:43:53 +00:00
Danielle Lancashire
6b7be72a43
tests: migrate TestCtlV3LeaseGrantTimeToLive.* to common
2022-03-18 16:43:20 +00:00
Danielle Lancashire
a533584738
tests/framework: add basic lease operations
2022-03-18 16:43:19 +00:00
Marek Siarkowicz
34f0ab4f4f
Merge pull request #13820 from kkkkun/defrag-test
...
tests: Migrate defrag tests to common framework
2022-03-18 16:50:39 +01:00
kkkkun
66eb3dbbdc
tests: Migrate defrag tests to common framework
2022-03-18 19:17:48 +08:00
Marek Siarkowicz
8c074c975e
Merge pull request #13773 from ahrtr/display_store_version_etcdctl_endpoint
...
Add one more field storageVersion into StatusResponse
2022-03-18 09:52:42 +01:00
ahrtr
d0688e0158
update the example output of 'etcdctl endpoint status -w table'
2022-03-18 07:04:44 +08:00
ahrtr
edce939f6e
add one more field storageVersion into StatusResponse
...
When performing the downgrade operation, users can confirm whether each member
is ready to be downgraded using the field 'storageVersion'. If it's equal to the
'target version' in the downgrade command, then it's ready to be downgraded;
otherwise, the etcd member is still in progress of processing the db file.
2022-03-18 07:04:44 +08:00
Marek Siarkowicz
c633e39102
Merge pull request #13803 from endocrimes/dani/expect-weird-systems
...
expect_test: Look up binaries from the path
2022-03-17 14:16:02 +01:00
Danielle Lancashire
a045e4bbfc
expect_test: Look up binaries from the path
...
Not all systems include binaries in the same location. On my (NixOS, so
albeit a little weird) system these binaries exist in very different
locations.
This test switches to looking up the paths from the users PATH or skips
the test if they do not exist to improve the `make test` experience on
such systems.
2022-03-17 12:55:08 +00:00