Chao Chen
8d057ea2b8
common tests framework: cluster client creation fail with invalid auth
...
Signed-off-by: Chao Chen <chaochn@amazon.com>
2022-09-29 23:09:32 -07:00
demoManito
72cf0cc04a
etcd: modify declaring empty slices
...
declare an empty slice to var s []int replace s :=[]int{}, https://github.com/golang/go/wiki/CodeReviewComments#declaring-empty-slices
Signed-off-by: demoManito <1430482733@qq.com>
2022-09-16 14:41:14 +08:00
Clark
6a5dd09fe6
tests: Migrate member remove tests to common framework
...
Signed-off-by: Clark <fwyongxing@gmail.com>
2022-09-09 15:09:10 +08:00
Marek Siarkowicz
f0c95cadea
Merge pull request #14281 from clarkfw/migrate-member-add-tests
...
tests: Migrate member add tests to common framework
2022-09-06 09:27:28 +02:00
Clark
fcc076fb78
tests: Migrate member add tests to common framework
...
Signed-off-by: Clark <fwyongxing@gmail.com>
2022-09-06 11:02:54 +08:00
Benjamin Wang
cc840336f0
move consistent_index forward when executing alarmList operation
...
The alarm list is the only exception that doesn't move consistent_index
forward. The reproduction steps are as simple as,
```
etcd --snapshot-count=5 &
for i in {1..6}; do etcdctl alarm list; done
kill -9 <etcd_pid>
etcd
```
Signed-off-by: Benjamin Wang <wachao@vmware.com>
2022-09-05 10:05:55 +08:00
Clark
3beb25489d
tests: enable --strict-reconfig-check
by default and expose it to common framework
...
Signed-off-by: Clark <fwyongxing@gmail.com>
2022-08-31 22:21:23 +08:00
Marek Siarkowicz
70de5c8937
tests: Add context to e2e cluster start
...
Signed-off-by: Marek Siarkowicz <siarkowicz@google.com>
2022-08-26 08:08:17 +02:00
Marek Siarkowicz
46fe4b8e1c
tests: Rename common client lease methods to match
...
Signed-off-by: Marek Siarkowicz <siarkowicz@google.com>
2022-08-26 07:12:47 +02:00
Marek Siarkowicz
b7272df69f
tests: Remove dummy client implementations
...
Signed-off-by: Marek Siarkowicz <siarkowicz@google.com>
2022-08-26 07:12:47 +02:00
Marek Siarkowicz
72bec6fbc2
tests: Add context to common client interface
...
Signed-off-by: Marek Siarkowicz <siarkowicz@google.com>
2022-08-26 07:12:45 +02: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
Clark
13d20f8d28
tests: Migrate member list tests to common framework
...
Signed-off-by: Clark <fwyongxing@gmail.com>
2022-07-26 23:28:19 +08:00
Marek Siarkowicz
ee08770bfb
tests: Make common framework context aware
2022-05-16 14:35:44 +02:00
Vimal Kumar
55f0c96fa0
tests: Migrate Txn tests to common functional test framework
2022-05-11 10:33:47 +05:30
Chao Chen
e004c91d36
migrate e2e & integration role_test to common
2022-05-10 10:17:16 -07: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
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
65be41dd6e
tests: Rename framework to runner and document the runners
2022-02-24 10:36:46 +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