Skip to content

Commit 802d9fb

Browse files
committed
TKGS HA scenarios to be added to EF column
1 parent 0843e33 commit 802d9fb

File tree

1 file changed

+31
-28
lines changed

1 file changed

+31
-28
lines changed

tests/e2e/tkgs_ha.go

Lines changed: 31 additions & 28 deletions
Original file line numberDiff line numberDiff line change
@@ -193,7 +193,8 @@ var _ = ginkgo.Describe("[csi-tkgs-ha] Tkgs-HA-SanityTests", func() {
193193
17.Cleanup: Delete Pod, PVC, SC (validate they are removed)
194194
18. Delete PVC,POD,SC
195195
*/
196-
ginkgo.It("Dynamic PVC - Zonal storage and Immediate binding", ginkgo.Label(p0, block, tkgsHA, vc80), func() {
196+
ginkgo.It("[ef-tkgsha] Dynamic PVC - Zonal storage and Immediate binding", ginkgo.Label(p0,
197+
block, tkgsHA, vc80), func() {
197198

198199
var totalQuotaUsedBefore, storagePolicyQuotaBefore, storagePolicyUsageBefore *resource.Quantity
199200
var tqAfterSanpshot, storagePolicyQuotaAfter, storagePolicyUsageAfter *resource.Quantity
@@ -388,8 +389,8 @@ var _ = ginkgo.Describe("[csi-tkgs-ha] Tkgs-HA-SanityTests", func() {
388389
9. Scale down the sts to 0
389390
10.Delete PVC,POD,SC
390391
*/
391-
ginkgo.It("Stateful set - storage class with Zonal storage and wffc and with parallel pod management "+
392-
"policy", ginkgo.Label(p0, block, tkgsHA, vc80), func() {
392+
ginkgo.It("[ef-tkgsha] Stateful set - storage class with Zonal storage and wffc and with parallel "+
393+
"pod management policy", ginkgo.Label(p0, block, tkgsHA, vc80), func() {
393394

394395
var totalQuotaUsedBefore, storagePolicyQuotaBefore, storagePolicyUsageBefore *resource.Quantity
395396
var totalQuotaUsedAfter, storagePolicyQuotaAfter, storagePolicyUsageAfter *resource.Quantity
@@ -492,8 +493,8 @@ var _ = ginkgo.Describe("[csi-tkgs-ha] Tkgs-HA-SanityTests", func() {
492493
6. Edit the SC parameter to some cross-zonal sc name - This operation should not be allowed
493494
7. Delete PVC,SC
494495
*/
495-
ginkgo.It("Edit the svc-pvc and try to change annotation or SC values", ginkgo.Label(p1, block,
496-
tkgsHA, vc80), func() {
496+
ginkgo.It("[ef-tkgsha] Edit the svc-pvc and try to change annotation or SC values", ginkgo.Label(p1,
497+
block, tkgsHA, vc80), func() {
497498
ctx, cancel := context.WithCancel(context.Background())
498499
defer cancel()
499500

@@ -638,8 +639,8 @@ var _ = ginkgo.Describe("[csi-tkgs-ha] Tkgs-HA-SanityTests", func() {
638639
10.Verify the FS size on the POD
639640
11.Clear all PVC,POD and sc
640641
*/
641-
ginkgo.It("Verify Online Volume expansion using zonal storage", ginkgo.Label(p0, block, tkgsHA,
642-
vc80), func() {
642+
ginkgo.It("[ef-tkgsha] Verify Online Volume expansion using zonal storage", ginkgo.Label(p0,
643+
block, tkgsHA, vc80), func() {
643644
var totalQuotaUsedBefore, storagePolicyQuotaBefore, storagePolicyUsageBefore *resource.Quantity
644645
ctx, cancel := context.WithCancel(context.Background())
645646
defer cancel()
@@ -770,8 +771,8 @@ var _ = ginkgo.Describe("[csi-tkgs-ha] Tkgs-HA-SanityTests", func() {
770771
11.Verify the FS size on the POD
771772
12.Clear all PVC,POD and sc
772773
*/
773-
ginkgo.It("Verify offline Volume expansion using zonal storage", ginkgo.Label(p0, block, tkgsHA,
774-
vc80), func() {
774+
ginkgo.It("[ef-tkgsha] Verify offline Volume expansion using zonal storage", ginkgo.Label(p0,
775+
block, tkgsHA, vc80), func() {
775776
var totalQuotaUsedBefore, storagePolicyQuotaBefore, storagePolicyUsageBefore *resource.Quantity
776777
ctx, cancel := context.WithCancel(context.Background())
777778
defer cancel()
@@ -900,8 +901,8 @@ var _ = ginkgo.Describe("[csi-tkgs-ha] Tkgs-HA-SanityTests", func() {
900901
14. Write data to the restored volumes and it should succeed.
901902
15. Delete pod, gc1-pv and gc1-pvc and svc pvc.
902903
*/
903-
ginkgo.It("Static volume provisioning using zonal storage", ginkgo.Label(p0, block, tkgsHA,
904-
vc80), func() {
904+
ginkgo.It("[ef-tkgsha] Static volume provisioning using zonal storage", ginkgo.Label(p0,
905+
block, tkgsHA, vc80), func() {
905906
var totalQuotaUsedBefore, storagePolicyQuotaBefore, storagePolicyUsageBefore *resource.Quantity
906907
ctx, cancel := context.WithCancel(context.Background())
907908
defer cancel()
@@ -1144,8 +1145,9 @@ var _ = ginkgo.Describe("[csi-tkgs-ha] Tkgs-HA-SanityTests", func() {
11441145
15. Also ensure that the VolumeSnapshotContent is deleted along with the volume snapshot as the policy is delete
11451146
16. Delete PVC,POD,SC
11461147
*/
1147-
ginkgo.It("Stateful set - storage class with Zonal storage and Immediate and with parallel pod management policy "+
1148-
"with nodeAffinity", ginkgo.Label(p0, block, tkgsHA, vc80), func() {
1148+
ginkgo.It("[ef-tkgsha] Stateful set - storage class with Zonal storage and Immediate and with "+
1149+
"parallel pod management policy with nodeAffinity", ginkgo.Label(p0, block,
1150+
tkgsHA, vc80), func() {
11491151
ctx, cancel := context.WithCancel(context.Background())
11501152
defer cancel()
11511153
ginkgo.By("CNS_TEST: Running for GC setup")
@@ -1341,7 +1343,7 @@ var _ = ginkgo.Describe("[csi-tkgs-ha] Tkgs-HA-SanityTests", func() {
13411343
13. Scale down the sts to 0.
13421344
14.Delete PVC,POD,SC.
13431345
*/
1344-
ginkgo.It("Provision volume with zonal storage when no resource quota available",
1346+
ginkgo.It("[ef-tkgsha] Provision volume with zonal storage when no resource quota available",
13451347
ginkgo.Label(p1, block, tkgsHA, vc80), func() {
13461348
ctx, cancel := context.WithCancel(context.Background())
13471349
defer cancel()
@@ -1452,7 +1454,8 @@ var _ = ginkgo.Describe("[csi-tkgs-ha] Tkgs-HA-SanityTests", func() {
14521454
15. Create new snapshots on restore volume and verify it succeeds
14531455
16. Run cleanup: Delete snapshots, restored-volumes, pods
14541456
*/
1455-
ginkgo.It("Create PVC using zonal storage and deploy deployment POD", ginkgo.Label(p0, block, tkgsHA, vc80),
1457+
ginkgo.It("[ef-tkgsha] Create PVC using zonal storage and deploy deployment POD", ginkgo.Label(p0,
1458+
block, tkgsHA, vc80),
14561459
func() {
14571460
ctx, cancel := context.WithCancel(context.Background())
14581461
defer cancel()
@@ -1733,8 +1736,8 @@ var _ = ginkgo.Describe("[csi-tkgs-ha] Tkgs-HA-SanityTests", func() {
17331736
14.All the PVC's and PV's should get deleted. No orphan volumes should be left on the system.
17341737
15.Delete Statefulsets.
17351738
*/
1736-
ginkgo.It("Verify the behaviour when CSI Provisioner is deleted during statefulset creation", ginkgo.Label(p1,
1737-
block, tkgsHA, negative, vc80), func() {
1739+
ginkgo.It("[ef-tkgsha] Verify the behaviour when CSI Provisioner is deleted during statefulset "+
1740+
"creation", ginkgo.Label(p1, block, tkgsHA, negative, vc80), func() {
17381741
ctx, cancel := context.WithCancel(context.Background())
17391742
defer cancel()
17401743
ginkgo.By("CNS_TEST: Running for GC setup")
@@ -1845,8 +1848,8 @@ var _ = ginkgo.Describe("[csi-tkgs-ha] Tkgs-HA-SanityTests", func() {
18451848
csi-Attacher in other replica should take the leadership to detach Volume
18461849
15.Delete Statefulsets and Delete PVCs.
18471850
*/
1848-
ginkgo.It("Verify the behaviour when CSI Attacher is deleted during statefulset creation", ginkgo.Label(p1, block,
1849-
tkgsHA, negative, vc80), func() {
1851+
ginkgo.It("[ef-tkgsha] Verify the behaviour when CSI Attacher is deleted during statefulset "+
1852+
"creation", ginkgo.Label(p1, block, tkgsHA, negative, vc80), func() {
18501853
ctx, cancel := context.WithCancel(context.Background())
18511854
defer cancel()
18521855
ginkgo.By("CNS_TEST: Running for GC setup")
@@ -2275,7 +2278,7 @@ var _ = ginkgo.Describe("[csi-tkgs-ha] Tkgs-HA-SanityTests", func() {
22752278
11.POD should be running in the appropriate nodes
22762279
12.Delete Pod, PVC and SC
22772280
*/
2278-
ginkgo.It("Verify the behaviour when CSI-resizer deleted during offline volume expansion",
2281+
ginkgo.It("[ef-tkgsha] Verify the behaviour when CSI-resizer deleted during offline volume expansion",
22792282
ginkgo.Label(p1, block, tkgsHA, negative, disruptive, vc80), func() {
22802283
ctx, cancel := context.WithCancel(context.Background())
22812284
defer cancel()
@@ -2395,8 +2398,8 @@ var _ = ginkgo.Describe("[csi-tkgs-ha] Tkgs-HA-SanityTests", func() {
23952398
19.Expect all volume metadata, PVC metadata, Pod metadata should be present on the CNS.
23962399
20.Delete the POD's , PVC's and PV's
23972400
*/
2398-
ginkgo.It("Verify the behaviour when CSI syncer is deleted and check fullsync ", ginkgo.Label(p1, block, tkgsHA,
2399-
negative, vc80),
2401+
ginkgo.It("[ef-tkgsha] Verify the behaviour when CSI syncer is deleted and check fullsync ", ginkgo.Label(p1,
2402+
block, tkgsHA, negative, vc80),
24002403
func() {
24012404
ctx, cancel := context.WithCancel(context.Background())
24022405
defer cancel()
@@ -2824,8 +2827,8 @@ var _ = ginkgo.Describe("[csi-tkgs-ha] Tkgs-HA-SanityTests", func() {
28242827
12.Delete the CSI process identified in the step 8, where CSI syncer is the leader.
28252828
13.Verify CNS metadata for PVC's and PV's , Make sure label entries should got removed.
28262829
*/
2827-
ginkgo.It("verify Label update when syncer container goes down", ginkgo.Label(p1, block, tkgsHA, negative,
2828-
disruptive, vc80), func() {
2830+
ginkgo.It("[ef-tkgsha] verify Label update when syncer container goes down", ginkgo.Label(p1,
2831+
block, tkgsHA, negative, disruptive, vc80), func() {
28292832
ctx, cancel := context.WithCancel(context.Background())
28302833
defer cancel()
28312834
ginkgo.By("CNS_TEST: Running for GC setup")
@@ -3014,8 +3017,8 @@ var _ = ginkgo.Describe("[csi-tkgs-ha] Tkgs-HA-SanityTests", func() {
30143017
9. Scale down the sts to 0
30153018
10.Delete Statefulset,PVC,POD,SC
30163019
*/
3017-
ginkgo.It("Validate statefulset creation with POD affinity and POD Anti affinity", ginkgo.Label(p0, block,
3018-
tkgsHA, vc80), func() {
3020+
ginkgo.It("[ef-tkgsha] Validate statefulset creation with POD affinity and POD Anti "+
3021+
"affinity", ginkgo.Label(p0, block, tkgsHA, vc80), func() {
30193022
ctx, cancel := context.WithCancel(context.Background())
30203023
defer cancel()
30213024
ginkgo.By("CNS_TEST: Running for GC setup")
@@ -3382,8 +3385,8 @@ var _ = ginkgo.Describe("[csi-tkgs-ha] Tkgs-HA-SanityTests", func() {
33823385
appropriate nodes preset in the availability zone
33833386
10. Delete pod, gc1-pv and gc1-pvc and svc pvc.
33843387
*/
3385-
ginkgo.It("tkgs-ha Verify static provisioning across Guest Clusters", ginkgo.Label(p1, block, tkgsHA,
3386-
vc80), func() {
3388+
ginkgo.It("[ef-tkgsha] Verify static provisioning across Guest Clusters", ginkgo.Label(p1,
3389+
block, tkgsHA, vc80), func() {
33873390
ctx, cancel := context.WithCancel(context.Background())
33883391
defer cancel()
33893392

0 commit comments

Comments
 (0)