The minimum worker node count of wowrkload cluster should be 2

Signed-off-by: danfengl <danfengl@vmware.com>
This commit is contained in:
danfengl
2023-07-27 08:04:07 +00:00
parent 1777bbe5b4
commit c637057dab
10 changed files with 39 additions and 18 deletions

View File

@@ -45,13 +45,11 @@ var veleroCfg VeleroConfig
type apiGropuVersionsTest struct {
name string
namespaces []string
srcCrdYaml string
srcCRs map[string]string
tgtCrdYaml string
tgtVer string
cm *corev1api.ConfigMap
gvs map[string][]string
want map[string]map[string]string
}
@@ -108,6 +106,8 @@ func APIGropuVersionsTest() {
Context("When EnableAPIGroupVersions flag is set", func() {
It("Should back up API group version and restore by version priority", func() {
ctx, ctxCancel := context.WithTimeout(context.Background(), time.Minute*60)
defer ctxCancel()
Expect(runEnableAPIGroupVersionsTests(
ctx,
*veleroCfg.ClientToInstallVelero,