kkkkun
a1f24e9afc
tests: Migrate endpoint tests to common framework
2022-03-15 22:50:56 +08:00
kkkkun
34cd8ae1a2
tests: Migrate compact tests to common framework
2022-03-10 17:01:47 +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
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
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
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
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
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
Chao Chen
fd79af9ee7
load all leases from backend
2022-02-13 20:30:20 -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
986a2b51f4
Merge pull request #13636 from serathius/remove-v2-client
...
Remove v2 server
2022-02-02 11:41:56 +01:00
Marek Siarkowicz
43c1631f26
tests: Use cmp.Equal to avoid mutating arguments
2022-02-01 16:47:18 +01:00
ahrtr
a879ccf152
updated servePeers to remvoe the grpc server
2022-01-27 16:22:01 +08: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
50b09d4f88
Re-enable code coverage upload
2022-01-26 20:18:43 +01:00
Marek Siarkowicz
692b3c4cd7
server: Remove most of V2 API
2022-01-25 15:24:13 +01:00
Marek Siarkowicz
37879eb5f9
test: Migrate WaitMembersMatch to V3 API
2022-01-25 13:56:17 +01:00
Marek Siarkowicz
c59694d41e
test: Migrate WaitMembersForLeader to V3 API
2022-01-24 17:26:51 +01:00
Marek Siarkowicz
81490c25d1
test: Migrate WaitStarted to V3 API
2022-01-24 17:26:50 +01:00
Marek Siarkowicz
ee6306b9f9
Migrate RemoveMember and AddMember to V3 API
2022-01-24 17:01:22 +01:00
Marek Siarkowicz
a53074542b
test: Run v2 discovery tests on previous version binary
2022-01-20 14:10:09 +01:00
Marek Siarkowicz
264fdbb6a1
test: Remove separation between V2 and V3 cluster in integration tests
2022-01-20 14:10:09 +01:00
Marek Siarkowicz
de30257d79
test: Always run server with grpc enabled
2022-01-20 14:10:09 +01:00
Marek Siarkowicz
51f72915e4
test: Move UseGRPC to member config
2022-01-20 14:10:09 +01:00
Marek Siarkowicz
87c8e8b868
test: Migrate to ClusterV3 cluster in integration tests
2022-01-20 14:10:09 +01:00
Marek Siarkowicz
69fc517e56
test: Add StrictReconfigCheck to cluster
2022-01-20 14:10:09 +01:00
Marek Siarkowicz
98242da5f1
test: Handle adding new members for clusters with TCP enabled
2022-01-20 14:10:09 +01:00
Marek Siarkowicz
5bcbf77980
tests: Move client to member struct
2022-01-20 14:10:09 +01:00
Marek Siarkowicz
ee5ef42c5c
server: --enable-v2 and --enable-v2v3 is decomissioned
2022-01-14 13:19:30 +01:00
Marek Siarkowicz
7d10899d7f
server: Require either cluster version v3.6 or --experimental-enable-lease-checkpoint-persist to persist lease remainingTTL
...
To avoid inconsistant behavior during cluster upgrade we are feature
gating persistance behind cluster version. This should ensure that
all cluster members are upgraded to v3.6 before changing behavior.
To allow backporting this fix to v3.5 we are also introducing flag
--experimental-enable-lease-checkpoint-persist that will allow for
smooth upgrade in v3.5 clusters with this feature enabled.
2021-12-02 12:26:47 +01:00
Piotr Resztak
e24796e8eb
e2e: Call WithStopSignal on proxyV2 object
2021-12-02 01:02:24 +01:00
Sam Batschelet
63a1cc3fe4
add --experimental-max-learner flag
...
Signed-off-by: Sam Batschelet <sbatsche@redhat.com>
2021-11-09 09:52:00 -05:00
Piotr Tabor
6c2f5dc78a
Merge pull request #13405 from serathius/downgrade-b
...
Implement single node downgrades
2021-10-29 23:22:10 +02:00
Marek Siarkowicz
6c2be0822d
tests: Add e2e tests for downgrades
2021-10-29 12:47:19 +02:00
Eng Zer Jun
2a151c8982
*: move from io/ioutil to io and os packages
...
The io/ioutil package has been deprecated as of Go 1.16, see
https://golang.org/doc/go1.16#ioutil . This commit replaces the existing
io/ioutil functions with their new definitions in io and os packages.
Signed-off-by: Eng Zer Jun <engzerjun@gmail.com>
2021-10-28 00:05:28 +08:00
Marek Siarkowicz
ca9b720c1d
tests: Move integration setup to separa framework package
2021-10-20 10:34:35 +02:00
Marek Siarkowicz
dcd0d3fc9c
tests: Extract e2e cluster setup to separate package
2021-10-19 13:06:40 +02:00