Marek Siarkowicz
71b40b3abf
tests: Extend common test to run previous release
...
Signed-off-by: Marek Siarkowicz <siarkowicz@google.com>
2022-11-07 06:51:59 +08:00
Benjamin Wang
dc0273b049
test: refactor the struct to make it clearer
...
Signed-off-by: Benjamin Wang <wachao@vmware.com>
2022-11-04 19:28:32 +08:00
Clark
fa9ee5cce9
tests: TestRunner.NewCluster accepts options
...
Signed-off-by: Clark <fwyongxing@gmail.com>
2022-10-31 15:26:08 +08:00
Clark
e28b66f751
tests: add a ClusterOption interface for ClusterSize in config.ClusterConfig
...
Signed-off-by: Clark <fwyongxing@gmail.com>
2022-10-26 23:41:09 +08:00
Clark
08284c56e0
test: fix anti-pattern naming problem in config.ClusterConfig
...
Signed-off-by: Clark <fwyongxing@gmail.com>
2022-10-26 15:47:19 +08:00
Benjamin Wang
4e0ccc69c9
test: refactor the client interface
...
It doesn't make sense to always pass a AuthConfig parameter for
test cases which do not enable auth at all. So refactoring the
Client interface method so that it accepts a `ClientOption`
variadic parameter.
Signed-off-by: Benjamin Wang <wachao@vmware.com>
2022-10-24 19:04:34 +08:00
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
Benjamin Wang
d657f2f66b
Test: increase the TestKVDelete's timeout to 15s
...
Sometimes it just needs more time to execute the test case,
so increase the timeout from 10s to 15s.
Signed-off-by: Benjamin Wang <wachao@vmware.com>
2022-09-18 04:26:30 +08: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
Marek Siarkowicz
ee08770bfb
tests: Make common framework context aware
2022-05-16 14:35:44 +02:00
Marek Siarkowicz
9beb29916e
tests: Extract cluster test cases
2022-05-13 14:41:53 +02:00
ahrtr
842fed52c7
use lineariziable range request in TestKVGet
2022-04-18 08:56:19 +08:00
Marek Siarkowicz
44aad460db
tests: Migrate noquorum kv tests to common framework
2022-03-21 14:53:29 +01: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
Marek Siarkowicz
a60abee0d4
tests: Migrate kv delete tests to common framework.
2022-03-02 11:37:24 +01:00
Marek Siarkowicz
49e9cb5f53
tests: Test multi member cluster
2022-03-01 10:43:33 +01:00
Marek Siarkowicz
bd9f366f40
tests: Migrate TestKVRange integration test to TestKVGet
2022-03-01 10:43:31 +01:00
Marek Siarkowicz
74d77dbaaa
tests: Migrate TestKVGet e2e test to common test framework
2022-03-01 10:41:57 +01:00
Marek Siarkowicz
81ef11ffb8
tests: Test different TLS configuration with TestKVPut
2022-03-01 10:41:21 +01:00
Marek Siarkowicz
58c3808919
tests: Handle multiple cluster configurations
2022-03-01 10:40:43 +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