Marek Siarkowicz
05e6527d26
Merge pull request #13756 from serathius/test-snapshot
...
tests: Add tests for snapshot compatibility and recovery between versions
2022-04-08 14:14:19 +02:00
Marek Siarkowicz
3ffa253516
tests: Add tests for snapshot compatibility and recovery between versions
2022-04-06 16:10:38 +02:00
Marek Siarkowicz
c4d055fe7b
Merge pull request #13819 from endocrimes/dani/auth_test.go
...
migrate e2e/users tests to common framework
2022-04-06 16:02:46 +02:00
Marek Siarkowicz
73fc864247
tests: Pass logger to backend
2022-04-05 15:53:38 +02:00
Marek Siarkowicz
63346bfead
server: Use default logging configuration instead of zap production one
...
This fixes problem where logs json changes format of timestamp.
2022-04-01 10:23:42 +02:00
Kun Zhang
62641d3385
set etcdutl to default
2022-03-24 16:20:28 +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
Kun Zhang
1649c9dfc2
Removing deprecated commands in etcdctl & etcdutl
2022-03-23 11:05:52 +08:00
Marek Siarkowicz
44aad460db
tests: Migrate noquorum kv tests to common framework
2022-03-21 14:53:29 +01:00
Danielle Lancashire
3416042c50
tests: migrate user tests to common fw
2022-03-21 12:46:00 +00:00
nic-chen
89146aa157
chore: delete useless file
2022-03-20 02:06:42 +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
Danielle Lancashire
87740f6c7b
tests: Migrate TestCtlV3LeaseRevoke.* to common
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
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
Danielle Lancashire
b7beaf9c62
tests: migrate TestCtlV3LeaseGrantLeases.* to common
2022-03-18 16:43:55 +00:00
Danielle Lancashire
6b7be72a43
tests: migrate TestCtlV3LeaseGrantTimeToLive.* to common
2022-03-18 16:43:20 +00:00
kkkkun
66eb3dbbdc
tests: Migrate defrag tests to common framework
2022-03-18 19:17:48 +08:00
Marek Siarkowicz
5ff2eccf80
Merge pull request #13774 from kkkkun/endpoint-test
...
tests: Migrate endpoint tests to common framework
2022-03-16 14:46:06 +01:00
kkkkun
a1f24e9afc
tests: Migrate endpoint tests to common framework
2022-03-15 22:50:56 +08:00
kkkkun
8c0e4fe559
delete offline defrag in etcdctl
2022-03-14 11:07:57 +08:00
Marek Siarkowicz
a60abee0d4
tests: Migrate kv delete tests to common framework.
2022-03-02 11:37:24 +01:00
Marek Siarkowicz
49e9cb5f53
tests: Test multi member cluster
2022-03-01 10:43:33 +01:00
Marek Siarkowicz
74d77dbaaa
tests: Migrate TestKVGet e2e test to common test framework
2022-03-01 10:41:57 +01:00
Marek Siarkowicz
81ef11ffb8
tests: Test different TLS configuration with TestKVPut
2022-03-01 10:41:21 +01:00
Marek Siarkowicz
9aaa6d8e7c
Merge pull request #13708 from serathius/common
...
Create common framework for e2e and integration tests and migrate TestKVPut test
2022-02-24 11:21:49 +01:00
ahrtr
2f36e0c62b
Change discovery url to endpoints
...
Currently the discovery url is just one endpoint. But actually it
should be the same as the etcdctl, which means that it should be
a list of endpoints. When one endpoint is down, the clientv3 can
fail over to the next endpoint automatically.
2022-02-24 09:11:41 +08:00
Marek Siarkowicz
744dd077cd
tests: Create common framework for e2e and integration tests and migrate TestKVPut test
2022-02-23 16:47:02 +01:00
Marek Siarkowicz
6af760131e
Merge pull request #13687 from serathius/etcdctl
...
Add downgrade commands
2022-02-22 17:12:23 +01:00
ahrtr
5d3847577f
always print the raft_term in decimal even flag --hex is provided
2022-02-22 09:00:24 +08:00
Marek Siarkowicz
b5e224db7d
Merge pull request #13635 from ahrtr/v3_discovery
...
support v3 discovery to bootstrap a new etcd cluster
2022-02-21 21:50:40 +01:00
Piotr Tabor
f80f477073
Merge pull request #13644 from Juneezee/refactor/t.TempDir
...
*: use `T.TempDir` to create temporary test directory
2022-02-21 19:52:37 +01:00
Marek Siarkowicz
2a7766c8cd
tests: Switch downgradetests to use etcdctl
2022-02-21 17:58:19 +01:00
Marek Siarkowicz
2db4d35554
tests: Move etcdctl to e2e framework
2022-02-21 17:58:19 +01:00
ahrtr
ebc86d12c0
support v3 discovery to bootstrap a new etcd cluster
2022-02-21 23:22:49 +08:00
Marek Siarkowicz
a0f26ff4ea
server: Snapshot after cluster version downgrade
2022-02-21 15:48:00 +01:00
Sahdev Zala
2923960ecd
Merge pull request #13693 from chaochn47/fix_coverage
...
Fix coverage failures
2022-02-14 15:03:56 -05:00
Marek Siarkowicz
310de9bd8b
Merge pull request #13612 from serathius/write-only
...
server: Make --v2-deprecation=write-only the default and remove not-y…
2022-02-14 17:09:42 +01:00
Marek Siarkowicz
3de5e221a8
tests: Fix cluster version and downgrade request timeout
...
Returning nil means that raft.Trigger was not called, causing member to
wait infinitly for response for response on raft request.
2022-02-14 14:19:06 +01:00
sitchenchao
b683aa1254
fix ctl_v3_kv_no_quorum_test.go and coverage failures
2022-02-12 18:00:02 -08:00
Marek Siarkowicz
20c89df5e5
Merge pull request #13525 from ahrtr/do_not_wait_ReadyNotify_infinitely
...
Etcd server shouldn't wait for the ready notification infinitely on startup
2022-02-08 14:50:09 +01:00
Marek Siarkowicz
a1f3c2c7cc
server: Make --v2-deprecation=write-only the default and remove not-yet option
2022-02-02 13:55:52 +01:00
ahrtr
1713dc67b5
etcd server shouldn't wait for the ready notification infinitely on startup
2022-01-27 16:19:20 +08:00
Marek Siarkowicz
692b3c4cd7
server: Remove most of V2 API
2022-01-25 15:24:13 +01:00
Eng Zer Jun
e9edc5432c
*: use T.TempDir
to create temporary test directory
...
The directory created by `T.TempDir()` and is automatically removed when
the test and all its subtests complete.
Reference: https://pkg.go.dev/testing#T.TempDir
Signed-off-by: Eng Zer Jun <engzerjun@gmail.com>
2022-01-25 00:00:46 +08:00
Marek Siarkowicz
a53074542b
test: Run v2 discovery tests on previous version binary
2022-01-20 14:10:09 +01:00
Piotr Tabor
19cb0a4252
Merge pull request #13519 from ahrtr/enhance_make_mirror_command
...
Add a new flag "--rev" to make-mirror command to support incremental mirror
2022-01-15 17:02:12 +01:00
Marek Siarkowicz
ee5ef42c5c
server: --enable-v2 and --enable-v2v3 is decomissioned
2022-01-14 13:19:30 +01:00