Flaky test: CSI mock volume snapshot

This commit is contained in:
Jiawei Wang 2021-02-17 14:18:23 -08:00
parent 473af0b8d1
commit 95bded5193

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)
}