Marek Siarkowicz
99b982e71a
tests: Rename corruptHash to CorruptBBolt
...
Signed-off-by: Marek Siarkowicz <siarkowicz@google.com>
2022-07-25 13:28:30 +02:00
Benjamin Wang
1a6fe4dbc6
update the comment for MaxConcurrentStreams to clearly state it's the max value for each client.
...
Signed-off-by: Benjamin Wang <wachao@vmware.com>
2022-07-07 04:51:20 +08:00
Benjamin Wang
f40b676701
add e2e test cases to cover the maxConcurrentStreams
...
Signed-off-by: Benjamin Wang <wachao@vmware.com>
2022-07-06 03:43:46 +08:00
Benjamin Wang
5f8cd5bd39
Replace all etcd versions with the centralized definitions
...
We have already defined all the constant etcd versions in the
centralized place api/version/version.go. So we should replace all
the versions with the centralized definitions.
2022-06-13 14:08:39 +08:00
Vimal Kumar
55f0c96fa0
tests: Migrate Txn tests to common functional test framework
2022-05-11 10:33:47 +05:30
Marek Siarkowicz
066e510731
Merge pull request #14020 from chaochn47/role_test
...
migrate e2e & integration role_test to common
2022-05-10 23:39:14 +02:00
Chao Chen
e004c91d36
migrate e2e & integration role_test to common
2022-05-10 10:17:16 -07:00
Marek Siarkowicz
e292e5b0b4
tests: Apply suggestions from code-review
2022-05-06 12:09:44 +02:00
Marek Siarkowicz
a65f7da5cb
server: Implement HA downgrade test
2022-05-06 12:09:44 +02:00
Marek Siarkowicz
c50fbb9ad6
tests: Retry validating version during downgrades
2022-05-06 12:09:44 +02:00
Marek Siarkowicz
c9af75dd8d
tests: Improve logging in downgrade tests
2022-05-06 12:09:43 +02:00
Marek Siarkowicz
7b04674d17
server: Move fatal calls out of internal function to make stacktrace cleaner
2022-05-06 12:09:43 +02:00
Marek Siarkowicz
75449c075d
tests: Allow sepecting member to in curl commands
2022-05-06 12:09:43 +02:00
Marek Siarkowicz
923096a2bb
tests: Simplify downgrade tests
2022-05-06 12:09:43 +02:00
Marek Siarkowicz
3f05f7de92
tests: Use restart in downgrade tests
2022-05-06 12:09:43 +02:00
Marek Siarkowicz
d6368a20cf
etcdctl: Remove V2 API commands
2022-04-24 12:08:42 +02:00
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