mirror of
https://github.com/vmware-tanzu/velero.git
synced 2026-01-08 14:21:18 +00:00
The minimum worker node count of wowrkload cluster should be 2
Signed-off-by: danfengl <danfengl@vmware.com>
This commit is contained in:
@@ -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,
|
||||
|
||||
Reference in New Issue
Block a user