Clark
7180267d56
tests: refactor EtcdProcessClusterConfig with Functional Options Pattern
...
remove `cfg *EtcdProcessClusterConfig` param from `NewEtcdProcessCluster` function
Signed-off-by: Clark <fwyongxing@gmail.com >
2022-11-16 15:05:29 +08:00
Clark
3510680c32
tests: refactor EtcdProcessClusterConfig using Functional Options Pattern
...
replace some initialisations with `DefaultConfig`, `NewConfig` and `EPClusterOption`
Signed-off-by: Clark <fwyongxing@gmail.com >
2022-11-14 03:07:51 +08:00
Benjamin Wang
fc23d0e83a
test: add ClusterContext into the common ClusterConfig
...
ClusterContext is used by "e2e" or "integration" to extend the
ClusterConfig. The common test cases shouldn't care about what
data is encoded or included; instead "e2e" or "integration"
framework should decode or parse it separately.
Signed-off-by: Benjamin Wang <wachao@vmware.com >
2022-11-07 10:05:45 +08:00
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