Commit Graph

17766 Commits

Author SHA1 Message Date
adae7a659e tests/framework: Add User operations 2022-03-21 12:44:51 +00:00
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
c6488a2c56 fix review 2022-03-20 10:09:27 +08:00
89146aa157 chore: delete useless file 2022-03-20 02:06:42 +08:00
bb7856090a fix: set cluster size to 1 to avoid unstable 2022-03-20 02:01:30 +08:00
527edd39a6 fix alarm test 2022-03-20 01:40:53 +08:00
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
e9fa171665 fix test fail 2022-03-19 16:31:19 +08:00
1b208aa9d9 Merge pull request #13812 from endocrimes/dani/leases
Migrate e2e Lease tests to common
2022-03-18 19:23:26 +01:00
3e657bdc50 tests: Migrate key value Get to common framework 2022-03-19 00:51:29 +08:00
87740f6c7b tests: Migrate TestCtlV3LeaseRevoke.* to common 2022-03-18 16:47:42 +00:00
ab3353582d tests/framework: Add Client.LeaseRevoke 2022-03-18 16:47:42 +00:00
36279e0797 tests: migrate TestCtlV3LeaseKeepAliveOnce.* to common 2022-03-18 16:47:42 +00:00
353b011f59 tests/framework: Add Client.LeaseKeepAliveOnce 2022-03-18 16:47:42 +00:00
c12e03c8e6 tests: migrate TestCtlV3LeaseTestTimeToLiveExpired.* to common 2022-03-18 16:47:42 +00:00
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
dca5874d44 tests: Migrate key value Get to common framework 2022-03-19 00:46:42 +08:00
b7beaf9c62 tests: migrate TestCtlV3LeaseGrantLeases.* to common 2022-03-18 16:43:55 +00:00
68e6493977 tests/framework: add Client.LeaseList 2022-03-18 16:43:53 +00:00
6b7be72a43 tests: migrate TestCtlV3LeaseGrantTimeToLive.* to common 2022-03-18 16:43:20 +00:00
a533584738 tests/framework: add basic lease operations 2022-03-18 16:43:19 +00:00
34f0ab4f4f Merge pull request #13820 from kkkkun/defrag-test
tests: Migrate defrag tests to common framework
2022-03-18 16:50:39 +01:00
66eb3dbbdc tests: Migrate defrag tests to common framework 2022-03-18 19:17:48 +08:00
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
d0688e0158 update the example output of 'etcdctl endpoint status -w table' 2022-03-18 07:04:44 +08:00
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
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
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
a1f24af310 Merge pull request #13804 from endocrimes/dani/watch-fix
integration/client/watch.TestWatchCancelRunning: remove duplicate setup
2022-03-16 15:43:35 +01:00
5f7df583c6 Merge pull request #13806 from endocrimes/dani/mutex-test-fix
integration/clientv3/exp/recipes: Fix lock tests
2022-03-16 15:40:37 +01:00
5ff2eccf80 Merge pull request #13774 from kkkkun/endpoint-test
tests: Migrate endpoint tests to common framework
2022-03-16 14:46:06 +01:00
35c3ceaa84 Merge pull request #13799 from serathius/release-doc
*: Restore release documentation
2022-03-15 15:31:24 -04:00
3bbbef54c1 integration/clientv3/exp/recipes: Fix lock test
TestMutexTryLock(SingleNode|MultiNode) were being skipped as they had duplicate calls to integration2.BeginTest. These duplicate calls registered a second handler for leak detection which failed and skipped the test as the wrappers had already started a cluster.

part of #13698
2022-03-15 17:42:47 +00:00
b50239f9a4 integration/client/watch: remove duplicate setup
This test was being skipped as it has a duplicate call to
integration2.BeginTest. This duplicate call registered a second handler
for leak detection which failed and skipped the test as the wrapper
(runWatchTest) has already started a cluster.
2022-03-15 16:41:14 +00:00
fa4859f86a Merge pull request #13793 from kkkkun/delete-defrag-offline-ctlv3
delete offline defrag in etcdctl
2022-03-15 12:23:54 -04:00
a1f24e9afc tests: Migrate endpoint tests to common framework 2022-03-15 22:50:56 +08:00
494a471248 *: Restore release documentation 2022-03-14 14:09:35 +01:00
bfb9aa4205 Merge pull request #13751 from ahrtr/reuse_client_config2
Move clientconfig into clientv3 so that it can be reused by both etcd…
2022-03-14 12:06:50 +01:00
8c0e4fe559 delete offline defrag in etcdctl 2022-03-14 11:07:57 +08:00
1a3822f2c3 Rename ClientConfig to ConfigSpec
The ClientConfig is a fully declarive configuration, so it makes more
sense to rename it to ConfigSpec. It can also mitigate the confusion
between Config and ClientConfig.
2022-03-13 05:41:49 +08:00
3dcbbf62d9 Move clientconfig into clientv3 so that it can be reused by both etcdctl and v3 discovery 2022-03-12 06:38:41 +08:00
5ed7f00166 Merge pull request #13788 from AdamKorcz/fuzz1
Add fuzzing audit report
2022-03-11 16:44:54 -05:00
1bfc88a8d6 Add fuzzing audit report 2022-03-11 20:52:29 +00:00
4e97271e4e Merge pull request #13770 from kkkkun/add-compact-test
tests: Migrate compact tests to common framework
2022-03-10 21:28:55 -05:00
34cd8ae1a2 tests: Migrate compact tests to common framework 2022-03-10 17:01:47 +08:00
91f9ce9f5b Merge pull request #13771 from ahrtr/fix_fmt_error_log
Fix some log format typos
2022-03-09 16:41:17 -05:00
3ecd8d2364 update incorrect migration log message
It can be upgrade or downgrade, so we should use word "updated" here.
2022-03-10 04:39:56 +08:00
d578a86a59 fix some log format typos 2022-03-10 03:26:34 +08:00
b8be237d16 Merge pull request #13769 from ahrtr/fix_typo_downgrade
Fix some typos related to downgrade
2022-03-09 10:01:00 +01:00
1ae5aa52de fix some typos related to downgrade 2022-03-09 16:07:18 +08:00