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
Chao Chen
fd79af9ee7
load all leases from backend
2022-02-13 20:30:20 -08:00
sitchenchao
b683aa1254
fix ctl_v3_kv_no_quorum_test.go and coverage failures
2022-02-12 18:00:02 -08:00
Sahdev Zala
bba3937f69
Merge pull request #13649 from serathius/scripts
...
Cleanup scripts in root directory
2022-02-11 15:40:53 -05:00
Marek Siarkowicz
bcadd039a1
Merge pull request #13673 from ahrtr/replace_gobin
...
Replace gobin with go install
2022-02-11 10:26:31 +01: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
ahrtr
900fc8dd7e
replace gobin with go install
...
The repository github.com/myitcv/gobin has already been archived,
and the `go install` command accepts arguments with version suffixs
starting from 1.16 (for example, go install example.com/cmd@v1.0.0).
So there is no reason to continue to use gobin.
2022-02-08 05:41:21 +08: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
Marek Siarkowicz
396efd9608
Cleanup scripts in root directory
2022-02-02 13:50:44 +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
902dc05014
tests: Update assertAuthority to explain filtering put method requests
2022-02-01 16:47:23 +01:00
Marek Siarkowicz
43c1631f26
tests: Use cmp.Equal to avoid mutating arguments
2022-02-01 16:47:18 +01:00
Piotr Tabor
a99c919a9f
Merge pull request #13651 from serathius/coverage
...
Re-enable code coverage upload
2022-01-28 13:54:33 +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
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
3788523a3e
tests: Move revision tests out of concurrency
2022-01-24 15:33:30 +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
7b365e48d3
test: Remove usage of V2 Put API in 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