Make e2e test not rely on local volumes

This commit is contained in:
Rahul Rangith
2022-12-02 10:04:34 -05:00
parent 3cf636b22e
commit 392cd5ce8c
3 changed files with 13 additions and 12 deletions

View File

@@ -2441,13 +2441,6 @@ func (om *fakeObjectManager) DeletePod(pod *v1.Pod) error {
return nil // Not found, no error in deleting.
}
func (om *fakeObjectManager) createPersistentVolumeClaims(set *apps.StatefulSet, pod *v1.Pod) error {
for _, claim := range getPersistentVolumeClaims(set, pod) {
om.claimsIndexer.Update(&claim)
}
return nil
}
func (om *fakeObjectManager) CreateClaim(claim *v1.PersistentVolumeClaim) error {
om.claimsIndexer.Update(claim)
return nil