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
kkkkun
66eb3dbbdc
tests: Migrate defrag tests to common framework
2022-03-18 19:17:48 +08:00
Marek Siarkowicz
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
Marek Siarkowicz
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
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
Danielle Lancashire
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
Danielle Lancashire
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
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
Sahdev Zala
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
kkkkun
34cd8ae1a2
tests: Migrate compact tests to common framework
2022-03-10 17:01:47 +08:00
ahrtr
d578a86a59
fix some log format typos
2022-03-10 03:26:34 +08:00
Marek Siarkowicz
a60abee0d4
tests: Migrate kv delete tests to common framework.
2022-03-02 11:37:24 +01:00
Marek Siarkowicz
31de503859
Merge pull request #13740 from serathius/common-get
...
Migrate key value Get to common framework
2022-03-02 10:14:34 +01:00
Piotr Tabor
088807c08e
Merge pull request #13565 from ahrtr/remove_peer_serve_client_requests
...
Updated servePeers to remove the grpc server
2022-03-01 16:24:42 +01:00
Marek Siarkowicz
49e9cb5f53
tests: Test multi member cluster
2022-03-01 10:43:33 +01:00
Marek Siarkowicz
bd9f366f40
tests: Migrate TestKVRange integration test to TestKVGet
2022-03-01 10:43:31 +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
58c3808919
tests: Handle multiple cluster configurations
2022-03-01 10:40:43 +01:00
Marek Siarkowicz
1c8adcd830
tests: Handle simple TLS configuration for cluster in common framework
2022-03-01 10:40:42 +01:00
Marek Siarkowicz
f7ee30cc41
tests: Implement remaining GetOptions fields
2022-03-01 10:35:18 +01:00
Marek Siarkowicz
fb55910500
version: bump up to 3.6.0-alpha.0
2022-02-28 13:20:27 +01:00
ahrtr
9b6681fffd
add failover test cases
2022-02-25 09:55:36 +08: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
Marek Siarkowicz
65be41dd6e
tests: Rename framework to runner and document the runners
2022-02-24 10:36:46 +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
def122871c
tests: Use GetOptions to configure serializble get
2022-02-23 16:47:52 +01: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
Marek Siarkowicz
509d8461a6
Merge pull request #13711 from ahrtr/quote_raft_term_on_display
...
Always print the raft_term in decimal
2022-02-22 09:51:18 +01:00
Marek Siarkowicz
5ac2c0d432
Merge pull request #13309 from presztak/proxyV2_with_stop_signal
...
e2e: Call WithStopSignal on proxyV2 object
2022-02-22 09:48:28 +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
Marek Siarkowicz
09e35a44ec
Merge pull request #13676 from chaochn47/fix_12535
...
Load all leases from backend
2022-02-14 21:32:33 +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
Piotr Tabor
9ebaf58dd6
Merge pull request #13694 from serathius/timeout
...
tests: Fix cluster version and downgrade request timeout
2022-02-14 14:53:34 +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