Roll back pkg client code for Velero server

Signed-off-by: danfengl <danfengl@vmware.com>
This commit is contained in:
danfengl
2023-02-22 14:11:02 +00:00
parent d7defa7fb5
commit 979fb9ccab
15 changed files with 735 additions and 20 deletions
+1 -1
View File
@@ -20,7 +20,7 @@ import (
"k8s.io/client-go/kubernetes"
kbclient "sigs.k8s.io/controller-runtime/pkg/client"
"github.com/vmware-tanzu/velero/pkg/client"
"github.com/vmware-tanzu/velero/test/e2e/pkg/client"
)
// TestClient contains different API clients that are in use throughout
+2
View File
@@ -138,6 +138,8 @@ func RunKibishiiTests(veleroCfg VeleroConfig, backupName, restoreName, backupLoc
// return errors.Wrapf(err, "Error get vSphere snapshot uploads")
// }
} else {
// wait for a period to confirm no snapshots exist for the backup
time.Sleep(5 * time.Minute)
if strings.EqualFold(veleroFeatures, "EnableCSI") {
_, err = GetSnapshotCheckPoint(*veleroCfg.ClientToInstallVelero, veleroCfg, 0,
kibishiiNamespace, backupName, KibishiiPodNameList)