From 9cf39681e4106ed266f5e8c5e8b6c0f587577044 Mon Sep 17 00:00:00 2001 From: Maxim Patlasov Date: Wed, 8 Jan 2025 15:21:36 -0800 Subject: [PATCH] WIP: temporary disable deleteProvisionedDir check to debug e2e test --- pkg/driver/provisioner_dir.go | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) diff --git a/pkg/driver/provisioner_dir.go b/pkg/driver/provisioner_dir.go index 1e4ae0762..a58f385ea 100644 --- a/pkg/driver/provisioner_dir.go +++ b/pkg/driver/provisioner_dir.go @@ -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)