Skip to content

Commit 4976b1b

Browse files
committed
test: fix e2e test
1 parent fb108ea commit 4976b1b

File tree

1 file changed

+5
-38
lines changed

1 file changed

+5
-38
lines changed

test/e2e/dynamic_provisioning_test.go

Lines changed: 5 additions & 38 deletions
Original file line numberDiff line numberDiff line change
@@ -92,40 +92,6 @@ var _ = ginkgo.Describe("[blob-csi-e2e] Dynamic Provisioning", func() {
9292
test.Run(ctx, cs, ns)
9393
})
9494

95-
ginkgo.It("should create a volume on demand with storage account having shared access key disabled", func(ctx ginkgo.SpecContext) {
96-
pods := []testsuites.PodDetails{
97-
{
98-
Cmd: "echo 'hello world' > /mnt/test-1/data && grep 'hello world' /mnt/test-1/data",
99-
Volumes: []testsuites.VolumeDetails{
100-
{
101-
ClaimSize: "10Gi",
102-
MountOptions: []string{
103-
"-o allow_other",
104-
"--file-cache-timeout-in-seconds=120",
105-
"--cancel-list-on-mount-seconds=0",
106-
},
107-
VolumeMount: testsuites.VolumeMountDetails{
108-
NameGenerate: "test-volume-",
109-
MountPathGenerate: "/mnt/test-",
110-
},
111-
},
112-
},
113-
},
114-
}
115-
test := testsuites.DynamicallyProvisionedCmdVolumeTest{
116-
CSIDriver: testDriver,
117-
Pods: pods,
118-
StorageClassParameters: map[string]string{
119-
"skuName": "Standard_GRS",
120-
"storeAccountKey": "false",
121-
"allowSharedKeyAccess": "false",
122-
"AzureStorageAuthType": "msi",
123-
"AzureStorageIdentityClientID": "dummy",
124-
},
125-
}
126-
test.Run(ctx, cs, ns)
127-
})
128-
12995
ginkgo.It("should create a volume on demand with mount options", func(ctx ginkgo.SpecContext) {
13096
pods := []testsuites.PodDetails{
13197
{
@@ -554,10 +520,11 @@ var _ = ginkgo.Describe("[blob-csi-e2e] Dynamic Provisioning", func() {
554520
CSIDriver: testDriver,
555521
Pods: pods,
556522
StorageClassParameters: map[string]string{
557-
"skuName": "Premium_LRS",
558-
"protocol": "nfs",
559-
"mountPermissions": "0755",
560-
"fsGroupChangePolicy": "Always",
523+
"skuName": "Premium_LRS",
524+
"protocol": "nfs",
525+
"mountPermissions": "0755",
526+
"fsGroupChangePolicy": "Always",
527+
"allowSharedKeyAccess": "false",
561528
},
562529
}
563530
test.Run(ctx, cs, ns)

0 commit comments

Comments
 (0)