Skip to content

Commit

Permalink
WIP: temporary disable deleteProvisionedDir check to debug e2e test
Browse files Browse the repository at this point in the history
  • Loading branch information
mpatlasov committed Jan 8, 2025
1 parent ad2a406 commit 9cf3968
Showing 1 changed file with 4 additions and 3 deletions.
7 changes: 4 additions & 3 deletions pkg/driver/provisioner_dir.go
Original file line number Diff line number Diff line change
Expand Up @@ -130,9 +130,10 @@ func (d DirectoryProvisioner) Provision(ctx context.Context, req *csi.CreateVolu
}

func (d DirectoryProvisioner) Delete(ctx context.Context, req *csi.DeleteVolumeRequest) (e error) {
if !d.deleteProvisionedDir {
return nil
}
// Debug failing test: https://storage.googleapis.com/kubernetes-ci-logs/pr-logs/pull/kubernetes-sigs_aws-efs-csi-driver/1497/pull-aws-efs-csi-driver-e2e/1866960834270334976/build-log.txt
// if !d.deleteProvisionedDir {
// return nil
// }
fileSystemId, subpath, _, _ := parseVolumeId(req.GetVolumeId())
klog.V(5).Infof("Running delete for EFS %s at subpath %s", fileSystemId, subpath)

Expand Down

0 comments on commit 9cf3968

Please sign in to comment.