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
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
Piotr Tabor
fdd98477ef
Update dep: require gopkg.in/yaml.v2 v2.2.8 -> v2.4.0 due to: CVE-2019-11254
2022-01-17 16:52:58 +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
Piotr Tabor
1237b3576c
Merge pull request #13487 from mrueg/go-1.17.3
...
*: Bump to go 1.17.6
2022-01-15 17:01:17 +01:00
Piotr Tabor
b2f6ffdd81
Merge pull request #13595 from serathius/enable-v2
...
server: --enable-v2 and --enable-v2v3 is decomissioned
2022-01-15 16:48:29 +01:00
Piotr Tabor
f75549d53b
Merge pull request #13571 from yank1/update-cobra-version
...
Update Cobra version to 1.2.1
2022-01-14 14:54:28 +01:00
Marek Siarkowicz
ee5ef42c5c
server: --enable-v2 and --enable-v2v3 is decomissioned
2022-01-14 13:19:30 +01:00
Marek Siarkowicz
eac6d71352
tests: Add integration test for revision monotonic under failure injection
2022-01-12 11:51:12 +01:00
Manuel Rüger
ce086a4ba6
*: Bump to go 1.17.6
...
Signed-off-by: Manuel Rüger <manuel@rueg.eu>
2022-01-12 03:13:27 +01:00
Manuel Rüger
746c0ea276
tests/Dockerfile: Update base to ubuntu 21.10
...
Signed-off-by: Manuel Rüger <manuel@rueg.eu>
2022-01-12 03:00:08 +01:00