Commit Graph

14 Commits

Author SHA1 Message Date
d87cb88d57 tests/common: address Go 1.24 usetesting issues
Signed-off-by: Matthieu MOREL <matthieu.morel35@gmail.com>
2025-03-13 22:03:50 +01:00
44073ed85d fix: use testify instead of t.Fatal in tests/common package (part 2)
Signed-off-by: Matthieu MOREL <matthieu.morel35@gmail.com>
2024-12-21 16:51:26 +01:00
36a5e40fba fix: use require instead of t.Fatal(err) in tests/common package
Signed-off-by: Matthieu MOREL <matthieu.morel35@gmail.com>
2024-11-03 09:32:58 +01:00
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
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
fa9ee5cce9 tests: TestRunner.NewCluster accepts options
Signed-off-by: Clark <fwyongxing@gmail.com>
2022-10-31 15:26:08 +08:00
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
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
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
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
72bec6fbc2 tests: Add context to common client interface
Signed-off-by: Marek Siarkowicz <siarkowicz@google.com>
2022-08-26 07:12:45 +02:00
ee08770bfb tests: Make common framework context aware 2022-05-16 14:35:44 +02:00
9beb29916e tests: Extract cluster test cases 2022-05-13 14:41:53 +02:00
e004c91d36 migrate e2e & integration role_test to common 2022-05-10 10:17:16 -07:00