Merge pull request #99167 from Jiawei0227/snapshot_flaky

Fix flaky test: CSI mock volume snapshot
This commit is contained in:
Kubernetes Prow Robot 2021-02-18 19:04:53 -08:00 committed by GitHub
commit f49385d05a
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -1301,8 +1301,7 @@ var _ = utils.SIGDescribe("CSI mock volume", func() {
framework.ExpectNoError(err, "Failed to get claim: %v", err)
}
framework.Logf("PVC not found. Continuing to test VolumeSnapshotContent finalizer")
}
if claim != nil && claim.DeletionTimestamp == nil {
} else if claim.DeletionTimestamp == nil {
framework.Failf("Expected deletion timestamp to be set on PVC: %v", claim)
}