Hitoshi Mitake
7a0c254b73
tests/integration: re-enable TestV3AuthOldRevConcurrent
2022-03-21 22:25:58 +09: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
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
Marek Siarkowicz
a60abee0d4
tests: Migrate kv delete tests to common framework.
2022-03-02 11:37:24 +01:00
Marek Siarkowicz
bd9f366f40
tests: Migrate TestKVRange integration test to TestKVGet
2022-03-01 10:43:31 +01:00
ahrtr
9b6681fffd
add failover test cases
2022-02-25 09:55:36 +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
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
Chao Chen
fd79af9ee7
load all leases from backend
2022-02-13 20:30:20 -08: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
37879eb5f9
test: Migrate WaitMembersMatch to V3 API
2022-01-25 13:56:17 +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
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
5bcbf77980
tests: Move client to member struct
2022-01-20 14:10:09 +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
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
Michał Jasionowski
fd77b2700c
etcdserver,integration: Store remaining TTL on checkpoint
...
To extend lease checkpointing mechanism to cases when the whole etcd
cluster is restarted.
2021-11-26 15:17:22 +01:00
Michał Jasionowski
48a360aad0
lease,integration: add checkpoint scheduling after leader change
...
Current checkpointing mechanism is buggy. New checkpoints for any lease
are scheduled only until the first leader change. Added fix for that
and a test that will check it.
2021-11-26 14:34:19 +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
Piotr Tabor
9c28e07588
Merge pull request #13447 from Juneezee/deprecate-ioutil
...
*: move from io/ioutil to io and os packages
2021-10-29 23:18:36 +02:00
Marek Siarkowicz
431adc5878
server: Implement storage downgrades
...
By validating if WAL doesn't include any incompatible entries we can
implement storage downgrades.
2021-10-29 12:47:19 +02:00
Marek Siarkowicz
f5d71fa389
server: Detect when WAL includes unapplied cluster version set to higher version
...
This is because etcd v3.5 will panic when it encounters
ClusterVersionSet entry with version >3.5.0. For downgrades to v3.5 to
work we need to make sure this entry is snapshotted.
2021-10-29 12:47:19 +02:00
Sam Batschelet
a0bdfc4fc9
tests/integration/clientv3: allow time for endpoints to update
...
Signed-off-by: Sam Batschelet <sbatsche@redhat.com>
2021-10-27 17:26:30 -04: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
Chao Chen
7b6554fd30
non mutating requests pass through quotaKVServer when NOSPACE
2021-10-22 16:36:37 -07:00
Marek Siarkowicz
ca9b720c1d
tests: Move integration setup to separa framework package
2021-10-20 10:34:35 +02:00
Marek Siarkowicz
703df1c491
server: Move wal versioning functions to wal package
2021-10-08 12:01:53 +02:00
Marek Siarkowicz
c929a917b6
client: Use first endpoint as http2 authority header
2021-09-29 14:41:35 +02:00
Marek Siarkowicz
90932324b1
client: Add grpc authority header integration tests
2021-09-29 12:42:16 +02:00
Marek Siarkowicz
c3cc22c60d
tests: Allow configuring integration tests to use TCP
2021-09-29 12:42:16 +02:00
Marek Siarkowicz
77cc91e0b2
test: Use unique number for grpc port
2021-09-29 12:42:16 +02:00
Marek Siarkowicz
5364758181
tests: Cleanup member interface by exposing Bridge directly
2021-09-29 12:42:16 +02:00
Marek Siarkowicz
451eb5d711
tests: Make using bridge optional
2021-09-29 12:42:14 +02:00
Marek Siarkowicz
f2dd5d80a1
tests: Rename grpcAddr to grpcURL to imply that it includes schema
2021-09-28 16:45:06 +02:00
Marek Siarkowicz
391d662f77
tests: Remove bridge dependency on unix
2021-09-28 16:45:06 +02:00
leoyang.yl
ad69fe0f40
fix IsOptsWithFromKey
...
fix IsOptsWithFromKey
fix IsOptsWithFromKey
fix IsOptsWithFromKey
fix IsOptsWithFromKey
fix IsOptsWithFromKey
2021-09-10 00:44:52 +08:00
Eduardo Patrocinio
87f1dc7e40
Fix a few typos
2021-09-03 16:09:09 -04:00