From 096330df160d84c0edef935cd7d6728b77bbec06 Mon Sep 17 00:00:00 2001 From: danfengl Date: Fri, 24 Mar 2023 09:29:20 +0000 Subject: [PATCH] Add wait time for migration on vsphere pipeline Signed-off-by: danfengl --- test/e2e/migration/migration.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/test/e2e/migration/migration.go b/test/e2e/migration/migration.go index 983fc4ec7..d32bf1401 100644 --- a/test/e2e/migration/migration.go +++ b/test/e2e/migration/migration.go @@ -225,7 +225,7 @@ func MigrationTest(useVolumeSnapshots bool, veleroCLI2Version VeleroCLI2Version) // the snapshots of AWS may be still in pending status when do the restore, wait for a while // to avoid this https://github.com/vmware-tanzu/velero/issues/1799 // TODO remove this after https://github.com/vmware-tanzu/velero/issues/3533 is fixed - if veleroCfg.CloudProvider == "aws" && useVolumeSnapshots { + if (veleroCfg.CloudProvider == "aws" || veleroCfg.CloudProvider == "vsphere") && useVolumeSnapshots { fmt.Println("Waiting 5 minutes to make sure the snapshots are ready...") time.Sleep(5 * time.Minute) }