Benjamin Wang
e40828540c
Merge pull request #14354 from biosvs/add-client-auto-sync-to-proxy
...
Added client-auto-sync-interval argument to the grpc-proxy
2022-08-26 05:36:01 +08:00
Vitalii Levitskii
be58a2539c
Added client-auto-sync-interval argument to the grpc-proxy
...
Signed-off-by: Vitalii Levitskii <vitalii@uber.com >
2022-08-25 15:33:38 +03:00
Marek Siarkowicz
f36a8782f0
Merge pull request #14345 from nic-chen/tests/watch
...
tests: Migrate watch test to common framework
2022-08-25 13:35:34 +02:00
Benjamin Wang
82bf79d4ce
Merge pull request #14376 from biosvs/fix-expect-package
...
Fixed infinite loop in ExpectProcess.ExpectFunc
2022-08-25 05:29:30 +08:00
Vitalii Levitskii
71c5360f98
Fixed infinite loop in ExpectProcess.ExpectFunc
...
Signed-off-by: Vitalii Levitskii <vitalii@uber.com >
2022-08-24 16:46:24 +03:00
nic-chen
f6ed36372b
tests: Migrate watch test to common framework
...
Signed-off-by: nic-chen <chenjunxu6@gmail.com >
2022-08-22 21:55:57 +08:00
Sahdev Zala
192d635da9
Merge pull request #14292 from tjungblu/debug_e2e
...
Add test name to e2e cluster members
2022-08-20 19:30:44 -04:00
Clark
7fa88fb8f7
tests: fix status responses size and nil
...
Signed-off-by: Clark <fwyongxing@gmail.com >
2022-08-03 03:10:45 +08:00
Thomas Jungblut
51933a7c8b
Add test name to e2e cluster members
...
This should aid in debugging test flakes, especially in tests where the process is restarted very often and thus changes its pid.
Now it's a lot easier to grep for different members, also when different tests fail at the same time.
The test TestDowngradeUpgradeClusterOf3 as mentioned in #13167 is a good example for that.
Signed-off-by: Thomas Jungblut <tjungblu@redhat.com >
2022-08-01 15:57:16 +02:00
Marek Siarkowicz
d44bbff278
server: Make corrtuption check optional and period configurable
...
Signed-off-by: Marek Siarkowicz <siarkowicz@google.com >
2022-07-26 09:31:15 +02:00
Marek Siarkowicz
f0f750f4c0
tests: Cover periodic check in tests
...
Signed-off-by: Marek Siarkowicz <siarkowicz@google.com >
2022-07-25 13:59:31 +02:00
Benjamin Wang
f40b676701
add e2e test cases to cover the maxConcurrentStreams
...
Signed-off-by: Benjamin Wang <wachao@vmware.com >
2022-07-06 03:43:46 +08:00
Benjamin Wang
ae9ca48a3f
remove duplicate certificate configuration for proxy test
...
The issue was introduced in the following commit,
093282f5ea
Signed-off-by: Benjamin Wang <wachao@vmware.com >
2022-06-30 10:26:36 +08:00
Benjamin Wang
29f090b5c0
Merge pull request #14029 from serathius/spawn-json-command
...
tests: Refactor spawn json command
2022-05-14 05:06:03 +08:00
Marek Siarkowicz
83a4309f3b
tests: Refactor spawn json command
2022-05-13 15:04:45 +02:00
ahrtr
1e6163ba27
remove v2 http proxy in 3.6
2022-05-13 17:44:58 +08:00
Vimal Kumar
55f0c96fa0
tests: Migrate Txn tests to common functional test framework
2022-05-11 10:33:47 +05:30
Marek Siarkowicz
066e510731
Merge pull request #14020 from chaochn47/role_test
...
migrate e2e & integration role_test to common
2022-05-10 23:39:14 +02:00
Chao Chen
e004c91d36
migrate e2e & integration role_test to common
2022-05-10 10:17:16 -07:00
Marek Siarkowicz
e292e5b0b4
tests: Apply suggestions from code-review
2022-05-06 12:09:44 +02:00
Marek Siarkowicz
a65f7da5cb
server: Implement HA downgrade test
2022-05-06 12:09:44 +02:00
Marek Siarkowicz
75449c075d
tests: Allow sepecting member to in curl commands
2022-05-06 12:09:43 +02:00
Marek Siarkowicz
05e6527d26
Merge pull request #13756 from serathius/test-snapshot
...
tests: Add tests for snapshot compatibility and recovery between versions
2022-04-08 14:14:19 +02:00
Marek Siarkowicz
3ffa253516
tests: Add tests for snapshot compatibility and recovery between versions
2022-04-06 16:10:38 +02:00
Marek Siarkowicz
c4d055fe7b
Merge pull request #13819 from endocrimes/dani/auth_test.go
...
migrate e2e/users tests to common framework
2022-04-06 16:02:46 +02:00
Piotr Tabor
f85cd0296f
Merge pull request #13872 from ptabor/20220402-osx-unit-test-pass
...
Fix TestauthTokenBundleOnOverwrite on OsX:
2022-04-02 20:03:38 +02:00
Piotr Tabor
3b589fb3b2
Fix TestauthTokenBundleOnOverwrite on OsX:
...
```
% (cd client/v3 && env go test -short -timeout=3m --race ./...)
--- FAIL: TestAuthTokenBundleNoOverwrite (0.00s)
client_test.go:210: listen unix /var/folders/t1/3m8z9xz93t9c3vpt7zyzjm6w00374n/T/TestAuthTokenBundleNoOverwrite3197524989/001/etcd-auth-test:0: bind: invalid argument
FAIL
FAIL go.etcd.io/etcd/client/v3 4.270s
```
The reason was that the path exceeded 108 chars (that is too much for socket).
In the mitigation we first change chroot (working directory) to the tempDir... such the path is 'local'.
2022-04-02 16:12:02 +02:00
Marek Siarkowicz
63346bfead
server: Use default logging configuration instead of zap production one
...
This fixes problem where logs json changes format of timestamp.
2022-04-01 10:23:42 +02:00
Marek Siarkowicz
e5bf23037a
tests: Keeps log in expect to allow their analysis
2022-03-31 21:02:36 +02:00
Marek Siarkowicz
44aad460db
tests: Migrate noquorum kv tests to common framework
2022-03-21 14:53:29 +01:00
Danielle Lancashire
adae7a659e
tests/framework: Add User operations
2022-03-21 12:44:51 +00:00
nic-chen
c6488a2c56
fix review
2022-03-20 10:09:27 +08:00
nic-chen
527edd39a6
fix alarm test
2022-03-20 01:40:53 +08:00
nic-chen
02516ab266
Merge branch 'main' into tests/ctl-alarm
...
# Conflicts:
# tests/framework/e2e/etcdctl.go
# tests/framework/interface.go
2022-03-19 16:36:15 +08:00
Danielle Lancashire
ab3353582d
tests/framework: Add Client.LeaseRevoke
2022-03-18 16:47:42 +00:00
Danielle Lancashire
353b011f59
tests/framework: Add Client.LeaseKeepAliveOnce
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
68e6493977
tests/framework: add Client.LeaseList
2022-03-18 16:43:53 +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
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
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
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
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