@@ -56,7 +56,7 @@ var _ = ginkgo.Describe("[blob-csi-e2e] Dynamic Provisioning", func() {
56
56
})
57
57
58
58
testDriver = driver .InitBlobCSIDriver ()
59
- ginkgo .It ("should create a volume on demand" , func () {
59
+ ginkgo .It ("should create a volume on demand with mount options " , func () {
60
60
pods := []testsuites.PodDetails {
61
61
{
62
62
Cmd : "echo 'hello world' > /mnt/test-1/data && grep 'hello world' /mnt/test-1/data" ,
@@ -277,6 +277,35 @@ var _ = ginkgo.Describe("[blob-csi-e2e] Dynamic Provisioning", func() {
277
277
test .Run (cs , ns )
278
278
})
279
279
280
+ ginkgo .It ("should create a NFSv3 volume on demand with mount options [nfs]" , func () {
281
+ pods := []testsuites.PodDetails {
282
+ {
283
+ Cmd : "echo 'hello world' > /mnt/test-1/data && grep 'hello world' /mnt/test-1/data" ,
284
+ Volumes : []testsuites.VolumeDetails {
285
+ {
286
+ ClaimSize : "10Gi" ,
287
+ MountOptions : []string {
288
+ "nconnect=16" ,
289
+ },
290
+ VolumeMount : testsuites.VolumeMountDetails {
291
+ NameGenerate : "test-volume-" ,
292
+ MountPathGenerate : "/mnt/test-" ,
293
+ },
294
+ },
295
+ },
296
+ },
297
+ }
298
+ test := testsuites.DynamicallyProvisionedCmdVolumeTest {
299
+ CSIDriver : testDriver ,
300
+ Pods : pods ,
301
+ StorageClassParameters : map [string ]string {
302
+ "skuName" : "Premium_LRS" ,
303
+ "protocol" : "nfs" ,
304
+ },
305
+ }
306
+ test .Run (cs , ns )
307
+ })
308
+
280
309
ginkgo .It ("should create a volume on demand (Bring Your Own Key)" , func () {
281
310
// get storage account secret name
282
311
err := os .Chdir ("../.." )
@@ -325,7 +354,7 @@ var _ = ginkgo.Describe("[blob-csi-e2e] Dynamic Provisioning", func() {
325
354
test .Run (cs , ns )
326
355
})
327
356
328
- ginkgo .It ("should create a volume on demand and resize it [kubernetes.io/blob-csi] [ blob.csi.azure.com]" , func () {
357
+ ginkgo .It ("should create a volume on demand and resize it [blob.csi.azure.com]" , func () {
329
358
pods := []testsuites.PodDetails {
330
359
{
331
360
Cmd : "echo 'hello world' > /mnt/test-1/data && grep 'hello world' /mnt/test-1/data" ,
0 commit comments