@@ -261,7 +261,7 @@ var _ = ginkgo.Describe("[csi-multi-svc] Multi-SVC", func() {
261
261
}
262
262
263
263
ginkgo .By ("Create StatefulSet with 3 replicas with parallel pod management" )
264
- service , statefulset , err := k8testutil .CreateStafeulSetAndVerifyPVAndPodNodeAffinty (ctx , client ,
264
+ service , statefulset , err := k8testutil .CreateStatefulSetAndVerifyPVAndPodNodeAffinty (ctx , client ,
265
265
e2eTestConfig , namespace , true , 3 , false , nil , false , false , true , "" , nil , false ,
266
266
storagePolicyNames [n ])
267
267
gomega .Expect (err ).NotTo (gomega .HaveOccurred ())
@@ -272,14 +272,14 @@ var _ = ginkgo.Describe("[csi-multi-svc] Multi-SVC", func() {
272
272
273
273
framework .Logf ("Scale up sts replica count to 5" )
274
274
scaleUpReplicaCount = 5
275
- err = k8testutil .ScaleUpStatefulSetPod (ctx , client , e2eTestConfig , statefulset , namespace , scaleUpReplicaCount ,
276
- true )
275
+ err = k8testutil .ScaleUpStatefulSetPod (ctx , client , e2eTestConfig , statefulset , namespace ,
276
+ scaleUpReplicaCount , true )
277
277
gomega .Expect (err ).NotTo (gomega .HaveOccurred ())
278
278
279
279
framework .Logf ("Scale down sts replica count to 1" )
280
280
scaleDownReplicaCount = 1
281
- err = k8testutil .ScaleDownStatefulSetPod (ctx , e2eTestConfig , client , statefulset , namespace , scaleDownReplicaCount ,
282
- true )
281
+ err = k8testutil .ScaleDownStatefulSetPod (ctx , e2eTestConfig , client , statefulset , namespace ,
282
+ scaleDownReplicaCount , true )
283
283
gomega .Expect (err ).NotTo (gomega .HaveOccurred ())
284
284
285
285
}
@@ -319,7 +319,7 @@ var _ = ginkgo.Describe("[csi-multi-svc] Multi-SVC", func() {
319
319
}
320
320
321
321
ginkgo .By ("Create StatefulSet with 3 replicas with parallel pod management" )
322
- service , statefulset , err := k8testutil .CreateStafeulSetAndVerifyPVAndPodNodeAffinty (ctx , client ,
322
+ service , statefulset , err := k8testutil .CreateStatefulSetAndVerifyPVAndPodNodeAffinty (ctx , client ,
323
323
e2eTestConfig , namespace , true , 3 , false , nil , false , false , true , "" , nil , false ,
324
324
storagePolicyNames [i ])
325
325
gomega .Expect (err ).NotTo (gomega .HaveOccurred ())
@@ -337,8 +337,8 @@ var _ = ginkgo.Describe("[csi-multi-svc] Multi-SVC", func() {
337
337
// scaling up/down sts created before password rotation
338
338
framework .Logf ("Scale up sts replica count to 5" )
339
339
scaleUpReplicaCount = 5
340
- err = k8testutil .ScaleUpStatefulSetPod (ctx , client , e2eTestConfig , statefulset , namespace , scaleUpReplicaCount ,
341
- true )
340
+ err = k8testutil .ScaleUpStatefulSetPod (ctx , client , e2eTestConfig , statefulset , namespace ,
341
+ scaleUpReplicaCount , true )
342
342
gomega .Expect (err ).NotTo (gomega .HaveOccurred ())
343
343
344
344
framework .Logf ("Scale down sts replica count to 1" )
@@ -361,7 +361,8 @@ var _ = ginkgo.Describe("[csi-multi-svc] Multi-SVC", func() {
361
361
var volHandle string
362
362
pvclaims = append (pvclaims , pvclaim )
363
363
ginkgo .By ("Waiting for pvc to be in bound state" )
364
- persistentvolumes , err := fpv .WaitForPVClaimBoundPhase (ctx , client , pvclaims , framework .ClaimProvisionTimeout )
364
+ persistentvolumes , err := fpv .WaitForPVClaimBoundPhase (ctx , client , pvclaims ,
365
+ framework .ClaimProvisionTimeout )
365
366
gomega .Expect (err ).NotTo (gomega .HaveOccurred ())
366
367
pv := persistentvolumes [0 ]
367
368
volHandle = pv .Spec .CSI .VolumeHandle
@@ -727,7 +728,7 @@ var _ = ginkgo.Describe("[csi-multi-svc] Multi-SVC", func() {
727
728
}
728
729
729
730
ginkgo .By ("Create StatefulSet with 3 replica with parallel pod management" )
730
- service , statefulset , err := k8testutil .CreateStafeulSetAndVerifyPVAndPodNodeAffinty (ctx , client ,
731
+ service , statefulset , err := k8testutil .CreateStatefulSetAndVerifyPVAndPodNodeAffinty (ctx , client ,
731
732
e2eTestConfig , namespace , true , 3 , false , nil , false , false , true , "" , nil , false ,
732
733
storagePolicyNames [n ])
733
734
gomega .Expect (err ).NotTo (gomega .HaveOccurred ())
0 commit comments