@@ -2097,6 +2097,7 @@ var _ = DescribeSanity("ExpandVolume [Controller Server]", func(sc *SanityContex
20972097 CapacityRange : & csi.CapacityRange {
20982098 RequiredBytes : TestVolumeExpandSize (sc ),
20992099 },
2100+ Secrets : sc .Secrets .ControllerExpandVolumeSecret ,
21002101 }
21012102 rsp , err := c .ControllerExpandVolume (context .Background (), expReq )
21022103 Expect (err ).To (HaveOccurred ())
@@ -2110,6 +2111,7 @@ var _ = DescribeSanity("ExpandVolume [Controller Server]", func(sc *SanityContex
21102111 It ("should fail if no capacity range is given" , func () {
21112112 expReq := & csi.ControllerExpandVolumeRequest {
21122113 VolumeId : "" ,
2114+ Secrets : sc .Secrets .ControllerExpandVolumeSecret ,
21132115 }
21142116 rsp , err := c .ControllerExpandVolume (context .Background (), expReq )
21152117 Expect (err ).To (HaveOccurred ())
@@ -2156,6 +2158,7 @@ var _ = DescribeSanity("ExpandVolume [Controller Server]", func(sc *SanityContex
21562158 CapacityRange : & csi.CapacityRange {
21572159 RequiredBytes : TestVolumeExpandSize (sc ),
21582160 },
2161+ Secrets : sc .Secrets .ControllerExpandVolumeSecret ,
21592162 }
21602163 rsp , err := c .ControllerExpandVolume (context .Background (), expReq )
21612164 Expect (err ).NotTo (HaveOccurred ())
0 commit comments