mirror of
https://github.com/k3s-io/kubernetes.git
synced 2025-07-21 10:51:29 +00:00
Merge pull request #99167 from Jiawei0227/snapshot_flaky
Fix flaky test: CSI mock volume snapshot
This commit is contained in:
commit
f49385d05a
@ -1301,8 +1301,7 @@ var _ = utils.SIGDescribe("CSI mock volume", func() {
|
|||||||
framework.ExpectNoError(err, "Failed to get claim: %v", err)
|
framework.ExpectNoError(err, "Failed to get claim: %v", err)
|
||||||
}
|
}
|
||||||
framework.Logf("PVC not found. Continuing to test VolumeSnapshotContent finalizer")
|
framework.Logf("PVC not found. Continuing to test VolumeSnapshotContent finalizer")
|
||||||
}
|
} else if claim.DeletionTimestamp == nil {
|
||||||
if claim != nil && claim.DeletionTimestamp == nil {
|
|
||||||
framework.Failf("Expected deletion timestamp to be set on PVC: %v", claim)
|
framework.Failf("Expected deletion timestamp to be set on PVC: %v", claim)
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user