Skip to content

Commit a39bb69

Browse files
andyzhangxumagnus
authored andcommitted
test: fix e2e test
fix
1 parent fc76bf2 commit a39bb69

File tree

1 file changed

+4
-37
lines changed

1 file changed

+4
-37
lines changed

test/e2e/dynamic_provisioning_test.go

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

93-
ginkgo.It("should create a volume on demand with storage account having shared access key disabled", func(ctx ginkgo.SpecContext) {
94-
pods := []testsuites.PodDetails{
95-
{
96-
Cmd: "echo 'hello world' > /mnt/test-1/data && grep 'hello world' /mnt/test-1/data",
97-
Volumes: []testsuites.VolumeDetails{
98-
{
99-
ClaimSize: "10Gi",
100-
MountOptions: []string{
101-
"-o allow_other",
102-
"--file-cache-timeout-in-seconds=120",
103-
"--cancel-list-on-mount-seconds=0",
104-
},
105-
VolumeMount: testsuites.VolumeMountDetails{
106-
NameGenerate: "test-volume-",
107-
MountPathGenerate: "/mnt/test-",
108-
},
109-
},
110-
},
111-
},
112-
}
113-
test := testsuites.DynamicallyProvisionedCmdVolumeTest{
114-
CSIDriver: testDriver,
115-
Pods: pods,
116-
StorageClassParameters: map[string]string{
117-
"skuName": "Standard_GRS",
118-
"storeAccountKey": "false",
119-
"allowSharedKeyAccess": "false",
120-
"AzureStorageAuthType": "msi",
121-
"AzureStorageIdentityClientID": "dummy",
122-
},
123-
}
124-
test.Run(ctx, cs, ns)
125-
})
126-
12793
ginkgo.It("should create a volume on demand with mount options", func(ctx ginkgo.SpecContext) {
12894
pods := []testsuites.PodDetails{
12995
{
@@ -614,9 +580,10 @@ var _ = ginkgo.Describe("[blob-csi-e2e] Dynamic Provisioning", func() {
614580
CSIDriver: testDriver,
615581
Pods: pods,
616582
StorageClassParameters: map[string]string{
617-
"skuName": "Premium_LRS",
618-
"protocol": "nfs",
619-
"mountPermissions": "0",
583+
"skuName": "Premium_LRS",
584+
"protocol": "nfs",
585+
"mountPermissions": "0",
586+
"allowSharedKeyAccess": "false",
620587
},
621588
}
622589
test.Run(ctx, cs, ns)

0 commit comments

Comments
 (0)