diff --git a/pkg/driver/node_test.go b/pkg/driver/node_test.go index 765dc24d3..fcef5af8f 100644 --- a/pkg/driver/node_test.go +++ b/pkg/driver/node_test.go @@ -796,6 +796,13 @@ func TestNodeGetCapabilities(t *testing.T) { }, }, }, + { + Type: &csi.NodeServiceCapability_Rpc{ + Rpc: &csi.NodeServiceCapability_RPC{ + Type: csi.NodeServiceCapability_RPC_GET_VOLUME_STATS, + }, + }, + }, } expResp := &csi.NodeGetCapabilitiesResponse{Capabilities: caps}