diff --git a/pkg/sanity/node.go b/pkg/sanity/node.go index 036d9df7..d3b39c06 100644 --- a/pkg/sanity/node.go +++ b/pkg/sanity/node.go @@ -330,7 +330,8 @@ func testFullWorkflowSuccess(s csi.ControllerClient, c csi.NodeClient, controlle Mode: csi.VolumeCapability_AccessMode_SINGLE_NODE_WRITER, }, }, - Readonly: false, + VolumeAttributes: vol.GetVolume().GetAttributes(), + Readonly: false, } if secrets != nil { @@ -354,6 +355,7 @@ func testFullWorkflowSuccess(s csi.ControllerClient, c csi.NodeClient, controlle Mode: csi.VolumeCapability_AccessMode_SINGLE_NODE_WRITER, }, }, + VolumeAttributes: vol.GetVolume().GetAttributes(), StagingTargetPath: config.StagingPath, } if controllerPublishSupported { @@ -380,6 +382,7 @@ func testFullWorkflowSuccess(s csi.ControllerClient, c csi.NodeClient, controlle Mode: csi.VolumeCapability_AccessMode_SINGLE_NODE_WRITER, }, }, + VolumeAttributes: vol.GetVolume().GetAttributes(), } if nodeStageSupported { nodepubvolRequest.StagingTargetPath = config.StagingPath