Skip to content

Commit 30a5aff

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

File tree

1 file changed

+34
-30
lines changed

1 file changed

+34
-30
lines changed

tests/e2e/tkgs_ha.go

Lines changed: 34 additions & 30 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")
@@ -2073,8 +2076,9 @@ var _ = ginkgo.Describe("[csi-tkgs-ha] Tkgs-HA-SanityTests", func() {
20732076
14.POD should be running in the appropriate nodes
20742077
15.Delete Pod, PVC and SC
20752078
*/
2076-
ginkgo.It("Verify the behaviour when CSI-resizer deleted and VSAN-Health is down during online Volume "+
2077-
"expansion", ginkgo.Label(p1, block, tkgsHA, negative, disruptive, vc80), func() {
2079+
ginkgo.It("[Verify the behaviour when CSI-resizer deleted and VSAN-Health is "+
2080+
"down during online Volume expansion", ginkgo.Label(p1, block, tkgsHA, negative, disruptive,
2081+
vc80), func() {
20782082
ctx, cancel := context.WithCancel(context.Background())
20792083
defer cancel()
20802084
ginkgo.By("CNS_TEST: Running for GC setup")
@@ -2275,7 +2279,7 @@ var _ = ginkgo.Describe("[csi-tkgs-ha] Tkgs-HA-SanityTests", func() {
22752279
11.POD should be running in the appropriate nodes
22762280
12.Delete Pod, PVC and SC
22772281
*/
2278-
ginkgo.It("Verify the behaviour when CSI-resizer deleted during offline volume expansion",
2282+
ginkgo.It("[ef-tkgsha] Verify the behaviour when CSI-resizer deleted during offline volume expansion",
22792283
ginkgo.Label(p1, block, tkgsHA, negative, disruptive, vc80), func() {
22802284
ctx, cancel := context.WithCancel(context.Background())
22812285
defer cancel()
@@ -2395,8 +2399,8 @@ var _ = ginkgo.Describe("[csi-tkgs-ha] Tkgs-HA-SanityTests", func() {
23952399
19.Expect all volume metadata, PVC metadata, Pod metadata should be present on the CNS.
23962400
20.Delete the POD's , PVC's and PV's
23972401
*/
2398-
ginkgo.It("Verify the behaviour when CSI syncer is deleted and check fullsync ", ginkgo.Label(p1, block, tkgsHA,
2399-
negative, vc80),
2402+
ginkgo.It("[ef-tkgsha] Verify the behaviour when CSI syncer is deleted and check fullsync ", ginkgo.Label(p1,
2403+
block, tkgsHA, negative, vc80),
24002404
func() {
24012405
ctx, cancel := context.WithCancel(context.Background())
24022406
defer cancel()
@@ -2824,8 +2828,8 @@ var _ = ginkgo.Describe("[csi-tkgs-ha] Tkgs-HA-SanityTests", func() {
28242828
12.Delete the CSI process identified in the step 8, where CSI syncer is the leader.
28252829
13.Verify CNS metadata for PVC's and PV's , Make sure label entries should got removed.
28262830
*/
2827-
ginkgo.It("verify Label update when syncer container goes down", ginkgo.Label(p1, block, tkgsHA, negative,
2828-
disruptive, vc80), func() {
2831+
ginkgo.It("[ef-tkgsha] verify Label update when syncer container goes down", ginkgo.Label(p1,
2832+
block, tkgsHA, negative, disruptive, vc80), func() {
28292833
ctx, cancel := context.WithCancel(context.Background())
28302834
defer cancel()
28312835
ginkgo.By("CNS_TEST: Running for GC setup")
@@ -3014,8 +3018,8 @@ var _ = ginkgo.Describe("[csi-tkgs-ha] Tkgs-HA-SanityTests", func() {
30143018
9. Scale down the sts to 0
30153019
10.Delete Statefulset,PVC,POD,SC
30163020
*/
3017-
ginkgo.It("Validate statefulset creation with POD affinity and POD Anti affinity", ginkgo.Label(p0, block,
3018-
tkgsHA, vc80), func() {
3021+
ginkgo.It("[ef-tkgsha] Validate statefulset creation with POD affinity and POD Anti "+
3022+
"affinity", ginkgo.Label(p0, block, tkgsHA, vc80), func() {
30193023
ctx, cancel := context.WithCancel(context.Background())
30203024
defer cancel()
30213025
ginkgo.By("CNS_TEST: Running for GC setup")
@@ -3382,8 +3386,8 @@ var _ = ginkgo.Describe("[csi-tkgs-ha] Tkgs-HA-SanityTests", func() {
33823386
appropriate nodes preset in the availability zone
33833387
10. Delete pod, gc1-pv and gc1-pvc and svc pvc.
33843388
*/
3385-
ginkgo.It("tkgs-ha Verify static provisioning across Guest Clusters", ginkgo.Label(p1, block, tkgsHA,
3386-
vc80), func() {
3389+
ginkgo.It("[ef-tkgsha] Verify static provisioning across Guest Clusters", ginkgo.Label(p1,
3390+
block, tkgsHA, vc80), func() {
33873391
ctx, cancel := context.WithCancel(context.Background())
33883392
defer cancel()
33893393

0 commit comments

Comments
 (0)