Skip to content

Commit da33450

Browse files
committed
test: add more storage account types in e2e tests
1 parent 60673a9 commit da33450

File tree

1 file changed

+18
-12
lines changed

1 file changed

+18
-12
lines changed

test/e2e/dynamic_provisioning_test.go

Lines changed: 18 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -67,8 +67,9 @@ var _ = ginkgo.Describe("[blobfuse-csi-e2e] Dynamic Provisioning", func() {
6767
},
6868
}
6969
test := testsuites.DynamicallyProvisionedCmdVolumeTest{
70-
CSIDriver: testDriver,
71-
Pods: pods,
70+
CSIDriver: testDriver,
71+
Pods: pods,
72+
StorageClassParameters: map[string]string{"skuName": "Standard_LRS"},
7273
}
7374
test.Run(cs, ns)
7475
})
@@ -94,6 +95,7 @@ var _ = ginkgo.Describe("[blobfuse-csi-e2e] Dynamic Provisioning", func() {
9495
Cmd: []string{"cat", "/mnt/test-1/data"},
9596
ExpectedString: "hello world\nhello world\n", // pod will be restarted so expect to see 2 instances of string
9697
},
98+
StorageClassParameters: map[string]string{"skuName": "Standard_LRS"},
9799
}
98100
test.Run(cs, ns)
99101
})
@@ -117,8 +119,9 @@ var _ = ginkgo.Describe("[blobfuse-csi-e2e] Dynamic Provisioning", func() {
117119
},
118120
}
119121
test := testsuites.DynamicallyProvisionedReadOnlyVolumeTest{
120-
CSIDriver: testDriver,
121-
Pods: pods,
122+
CSIDriver: testDriver,
123+
Pods: pods,
124+
StorageClassParameters: map[string]string{"skuName": "Standard_GRS"},
122125
}
123126
test.Run(cs, ns)
124127
})
@@ -153,9 +156,10 @@ var _ = ginkgo.Describe("[blobfuse-csi-e2e] Dynamic Provisioning", func() {
153156
},
154157
}
155158
test := testsuites.DynamicallyProvisionedCollocatedPodTest{
156-
CSIDriver: testDriver,
157-
Pods: pods,
158-
ColocatePods: true,
159+
CSIDriver: testDriver,
160+
Pods: pods,
161+
ColocatePods: true,
162+
StorageClassParameters: map[string]string{"skuName": "Standard_RAGRS"},
159163
}
160164
test.Run(cs, ns)
161165
})
@@ -170,8 +174,9 @@ var _ = ginkgo.Describe("[blobfuse-csi-e2e] Dynamic Provisioning", func() {
170174
},
171175
}
172176
test := testsuites.DynamicallyProvisionedReclaimPolicyTest{
173-
CSIDriver: testDriver,
174-
Volumes: volumes,
177+
CSIDriver: testDriver,
178+
Volumes: volumes,
179+
StorageClassParameters: map[string]string{"skuName": "Standard_LRS"},
175180
}
176181
test.Run(cs, ns)
177182
})
@@ -186,9 +191,10 @@ var _ = ginkgo.Describe("[blobfuse-csi-e2e] Dynamic Provisioning", func() {
186191
},
187192
}
188193
test := testsuites.DynamicallyProvisionedReclaimPolicyTest{
189-
CSIDriver: testDriver,
190-
Volumes: volumes,
191-
Blobfuse: blobfuseDriver,
194+
CSIDriver: testDriver,
195+
Volumes: volumes,
196+
Blobfuse: blobfuseDriver,
197+
StorageClassParameters: map[string]string{"skuName": "Standard_GRS"},
192198
}
193199
test.Run(cs, ns)
194200
})

0 commit comments

Comments
 (0)