Skip to content

Commit 743e814

Browse files
authored
Addin vSAN Stretch TKG to UTS PQ (#3631)
1 parent 3b896ff commit 743e814

File tree

1 file changed

+29
-22
lines changed

1 file changed

+29
-22
lines changed

tests/e2e/vsan_stretched_cluster.go

Lines changed: 29 additions & 22 deletions
Original file line numberDiff line numberDiff line change
@@ -261,7 +261,8 @@ var _ = ginkgo.Describe("[vsan-stretch-vanilla] vsan stretched cluster tests", f
261261
6. Bring primary site up and wait for testbed to be back to normal
262262
7. Delete all objects created in step 2 and 5
263263
*/
264-
ginkgo.It("[pq-wcp-vsanstretch] Primary site down", ginkgo.Label(p0, vsanStretch, block, file, vanilla, wcp, tkg,
264+
ginkgo.It("[pq-wcp-vsanstretch][pq-vks-vsanstretch] Primary site down", ginkgo.Label(p0,
265+
vsanStretch, block, file, vanilla, wcp, tkg,
265266
primaryCentric, vc70), func() {
266267
ctx, cancel := context.WithCancel(context.Background())
267268
defer cancel()
@@ -445,9 +446,9 @@ var _ = ginkgo.Describe("[vsan-stretch-vanilla] vsan stretched cluster tests", f
445446
8. Delete statefulsets and its pvcs created in step 2
446447
9. Bring primary site up and wait for testbed to be back to normal
447448
*/
448-
ginkgo.It("[pq-wcp-vsanstretch] Statefulset scale up/down while primary site goes down", ginkgo.Label(p0,
449-
vsanStretch, file, block, vanilla, wcp, tkg, primaryCentric, controlPlaneOnPrimary,
450-
vc70), func() {
449+
ginkgo.It("[pq-wcp-vsanstretch][pq-vks-vsanstretch] Statefulset scale up/down while primary "+
450+
"site goes down", ginkgo.Label(p0, vsanStretch, file, block, vanilla, wcp, tkg,
451+
primaryCentric, controlPlaneOnPrimary, vc70), func() {
451452
ctx, cancel := context.WithCancel(context.Background())
452453
defer cancel()
453454
ginkgo.By("Creating StorageClass for Statefulset")
@@ -830,8 +831,9 @@ var _ = ginkgo.Describe("[vsan-stretch-vanilla] vsan stretched cluster tests", f
830831
6. Bring primary site up and wait for testbed to be back to normal
831832
7. Delete PVCs created in step 2
832833
*/
833-
ginkgo.It("[pq-wcp-vsanstretch] PVC creation while primary site goes down", ginkgo.Label(p0,
834-
vsanStretch, file, block, vanilla, wcp, tkg, primaryCentric, vc70), func() {
834+
ginkgo.It("[pq-wcp-vsanstretch][pq-vks-vsanstretch] PVC creation while primary site goes "+
835+
"down", ginkgo.Label(p0, vsanStretch, file, block, vanilla, wcp, tkg,
836+
primaryCentric, vc70), func() {
835837
ctx, cancel := context.WithCancel(context.Background())
836838
defer cancel()
837839

@@ -982,8 +984,9 @@ var _ = ginkgo.Describe("[vsan-stretch-vanilla] vsan stretched cluster tests", f
982984
6. Re-establish primary site network and wait for testbed to be back to normal
983985
7. Delete all objects created in step 2
984986
*/
985-
ginkgo.It("[pq-wcp-vsanstretch] Primary site network isolation", ginkgo.Label(p0, vsanStretch, file, block,
986-
vanilla, wcp, tkg, primaryCentric, controlPlaneOnPrimary, distributed, vc70), func() {
987+
ginkgo.It("[pq-wcp-vsanstretch][pq-vks-vsanstretch] Primary site network "+
988+
"isolation", ginkgo.Label(p0, vsanStretch, file, block, vanilla, wcp, tkg, primaryCentric,
989+
controlPlaneOnPrimary, distributed, vc70), func() {
987990
ctx, cancel := context.WithCancel(context.Background())
988991
defer cancel()
989992

@@ -1150,8 +1153,9 @@ var _ = ginkgo.Describe("[vsan-stretch-vanilla] vsan stretched cluster tests", f
11501153
6. Verify PVs and CNS volumes associated with PVCs created in step 2 are also deleted successfully
11511154
7. Bring primary site up and wait for testbed to be back to normal
11521155
*/
1153-
ginkgo.It("[pq-wcp-vsanstretch] PVC deletion while primary site goes down", ginkgo.Label(p0, vsanStretch,
1154-
file, block, vanilla, wcp, tkg, primaryCentric, vc70), func() {
1156+
ginkgo.It("[pq-wcp-vsanstretch][pq-vks-vsanstretch] PVC deletion while primary site "+
1157+
"goes down", ginkgo.Label(p0, vsanStretch, file, block, vanilla, wcp, tkg, primaryCentric,
1158+
vc70), func() {
11551159
ctx, cancel := context.WithCancel(context.Background())
11561160
defer cancel()
11571161
var svcCsipods *v1.PodList
@@ -1418,8 +1422,9 @@ var _ = ginkgo.Describe("[vsan-stretch-vanilla] vsan stretched cluster tests", f
14181422
8. Delete the PVCs created in step 2
14191423
9. Bring primary site up and wait for testbed to be back to normal
14201424
*/
1421-
ginkgo.It("[pq-wcp-vsanstretch] Label updates to PV, PVC, pod while primary site goes down", ginkgo.Label(p0,
1422-
vsanStretch, file, block, vanilla, wcp, tkg, primaryCentric, vc70), func() {
1425+
ginkgo.It("[pq-wcp-vsanstretch][pq-vks-vsanstretch] Label updates to PV, PVC, pod while primary "+
1426+
"site goes down", ginkgo.Label(p0, vsanStretch, file, block, vanilla, wcp, tkg,
1427+
primaryCentric, vc70), func() {
14231428

14241429
ctx, cancel := context.WithCancel(context.Background())
14251430
defer cancel()
@@ -2102,8 +2107,8 @@ var _ = ginkgo.Describe("[vsan-stretch-vanilla] vsan stretched cluster tests", f
21022107
6. Bring secondary site up and wait for testbed to be back to normal
21032108
7. Delete all objects created in step 2 and 5
21042109
*/
2105-
ginkgo.It("[pq-wcp-vsanstretch] Secondary site down", ginkgo.Label(p0, vsanStretch, file, block, vanilla,
2106-
wcp, tkg, controlPlaneOnPrimary, vc70), func() {
2110+
ginkgo.It("[pq-wcp-vsanstretch][pq-vks-vsanstretch] Secondary site down", ginkgo.Label(p0,
2111+
vsanStretch, file, block, vanilla, wcp, tkg, controlPlaneOnPrimary, vc70), func() {
21072112

21082113
ctx, cancel := context.WithCancel(context.Background())
21092114
defer cancel()
@@ -2284,8 +2289,9 @@ var _ = ginkgo.Describe("[vsan-stretch-vanilla] vsan stretched cluster tests", f
22842289
volume and application lifecycle actions work fine
22852290
11. Cleanup all objects created so far in the test
22862291
*/
2287-
ginkgo.It("[pq-wcp-vsanstretch] Network failure between sites", ginkgo.Label(p0, vsanStretch, file,
2288-
block, vanilla, wcp, tkg, controlPlaneOnPrimary, distributed, vc70), func() {
2292+
ginkgo.It("[pq-wcp-vsanstretch][pq-vks-vsanstretch] Network failure between "+
2293+
"sites", ginkgo.Label(p0, vsanStretch, file, block, vanilla, wcp, tkg, controlPlaneOnPrimary,
2294+
distributed, vc70), func() {
22892295
ctx, cancel := context.WithCancel(context.Background())
22902296
defer cancel()
22912297
ginkgo.By("Creating StorageClass for Statefulset")
@@ -2521,8 +2527,8 @@ var _ = ginkgo.Describe("[vsan-stretch-vanilla] vsan stretched cluster tests", f
25212527
5. Run volume and application lifecycle actions
25222528
6. Cleanup all objects created in step 3 and 5
25232529
*/
2524-
ginkgo.It("[pq-wcp-vsanstretch] Witness failure", ginkgo.Label(p0, vsanStretch, file,
2525-
block, vanilla, wcp, tkg, distributed, vc70), func() {
2530+
ginkgo.It("[pq-wcp-vsanstretch][pq-vks-vsanstretch] Witness failure", ginkgo.Label(p0,
2531+
vsanStretch, file, block, vanilla, wcp, tkg, distributed, vc70), func() {
25262532
ctx, cancel := context.WithCancel(context.Background())
25272533
defer cancel()
25282534

@@ -4114,8 +4120,9 @@ var _ = ginkgo.Describe("[vsan-stretch-vanilla] vsan stretched cluster tests", f
41144120
19. Bring primary site up and wait for testbed to be back to normal
41154121
41164122
*/
4117-
ginkgo.It("[pq-wcp-vsanstretch] Primary site failover during full sync", ginkgo.Label(p0, vsanStretch, file,
4118-
block, vanilla, wcp, tkg, primaryCentric, distributed, vc70), func() {
4123+
ginkgo.It("[pq-wcp-vsanstretch][pq-vks-vsanstretch] Primary site failover during "+
4124+
"full sync", ginkgo.Label(p0, vsanStretch, file, block, vanilla, wcp, tkg, primaryCentric,
4125+
distributed, vc70), func() {
41194126
ctx, cancel := context.WithCancel(context.Background())
41204127
defer cancel()
41214128
ginkgo.By("Creating StorageClass")
@@ -4825,8 +4832,8 @@ var _ = ginkgo.Describe("[vsan-stretch-vanilla] vsan stretched cluster tests", f
48254832
8. Delete statefulsets and its pvcs created in step 2
48264833
9. Bring primary site up and wait for testbed to be back to normal
48274834
*/
4828-
ginkgo.It("[pq-wcp-vsanstretch] PSOD hosts on secondary site", ginkgo.Label(p0, vsanStretch,
4829-
block, wcp, tkg, vc80), func() {
4835+
ginkgo.It("[pq-wcp-vsanstretch][pq-vks-vsanstretch] PSOD hosts on secondary "+
4836+
"site", ginkgo.Label(p0, vsanStretch, block, wcp, tkg, vc80), func() {
48304837

48314838
ctx, cancel := context.WithCancel(context.Background())
48324839
defer cancel()

0 commit comments

Comments
 (0)