@@ -240,6 +240,9 @@ var _ bool = ginkgo.Describe("[domain-isolation] Management-Workload-Domain-Isol
240
240
gomega .Expect (waitForNamespaceToGetDeleted (ctx , client , namespace , poll , pollTimeout )).To (gomega .Succeed ())
241
241
}()
242
242
243
+ ginkgo .By ("Wait for namespace to get listed under supervisor cluster" )
244
+ time .Sleep (2 * time .Minute )
245
+
243
246
ginkgo .By ("Read zonal-2 storage policy tagged to wcp namespace" )
244
247
storageclass , err := client .StorageV1 ().StorageClasses ().Get (ctx , storagePolicyName , metav1.GetOptions {})
245
248
if ! apierrors .IsNotFound (err ) {
@@ -319,6 +322,9 @@ var _ bool = ginkgo.Describe("[domain-isolation] Management-Workload-Domain-Isol
319
322
gomega .Expect (waitForNamespaceToGetDeleted (ctx , client , namespace , poll , pollTimeout )).To (gomega .Succeed ())
320
323
}()
321
324
325
+ ginkgo .By ("Wait for namespace to get listed under supervisor cluster" )
326
+ time .Sleep (2 * time .Minute )
327
+
322
328
ginkgo .By ("Fetch zone-1 storage policy tagged to wcp namespace" )
323
329
storageclass , err := client .StorageV1 ().StorageClasses ().Get (ctx , storagePolicyName , metav1.GetOptions {})
324
330
if ! apierrors .IsNotFound (err ) {
@@ -396,6 +402,9 @@ var _ bool = ginkgo.Describe("[domain-isolation] Management-Workload-Domain-Isol
396
402
gomega .Expect (waitForNamespaceToGetDeleted (ctx , client , namespace , poll , pollTimeout )).To (gomega .Succeed ())
397
403
}()
398
404
405
+ ginkgo .By ("Wait for namespace to get listed under supervisor cluster" )
406
+ time .Sleep (2 * time .Minute )
407
+
399
408
ginkgo .By ("Fetch zone-2 storage policy tagged to wcp namespace" )
400
409
storageclass , err := client .StorageV1 ().StorageClasses ().Get (ctx , storagePolicyNameWffc , metav1.GetOptions {})
401
410
if ! apierrors .IsNotFound (err ) {
@@ -488,6 +497,9 @@ var _ bool = ginkgo.Describe("[domain-isolation] Management-Workload-Domain-Isol
488
497
gomega .Expect (waitForNamespaceToGetDeleted (ctx , client , namespace , poll , pollTimeout )).To (gomega .Succeed ())
489
498
}()
490
499
500
+ ginkgo .By ("Wait for namespace to get listed under supervisor cluster" )
501
+ time .Sleep (2 * time .Minute )
502
+
491
503
ginkgo .By ("Fetch shared storage policy tagged to wcp namespace" )
492
504
storageclass , err := client .StorageV1 ().StorageClasses ().Get (ctx , storagePolicyName , metav1.GetOptions {})
493
505
if ! apierrors .IsNotFound (err ) {
@@ -665,6 +677,9 @@ var _ bool = ginkgo.Describe("[domain-isolation] Management-Workload-Domain-Isol
665
677
gomega .Expect (waitForNamespaceToGetDeleted (ctx , client , namespace , poll , pollTimeout )).To (gomega .Succeed ())
666
678
}()
667
679
680
+ ginkgo .By ("Wait for namespace to get listed under supervisor cluster" )
681
+ time .Sleep (2 * time .Minute )
682
+
668
683
ginkgo .By ("Read shared storage policy tagged to wcp namespace" )
669
684
storageclass , err := client .StorageV1 ().StorageClasses ().Get (ctx , sharedStoragePolicyName , metav1.GetOptions {})
670
685
if ! apierrors .IsNotFound (err ) {
@@ -737,6 +752,9 @@ var _ bool = ginkgo.Describe("[domain-isolation] Management-Workload-Domain-Isol
737
752
gomega .Expect (waitForNamespaceToGetDeleted (ctx , client , namespace , poll , pollTimeout )).To (gomega .Succeed ())
738
753
}()
739
754
755
+ ginkgo .By ("Wait for namespace to get listed under supervisor cluster" )
756
+ time .Sleep (2 * time .Minute )
757
+
740
758
ginkgo .By ("Read shared storage policy tagged to wcp namespace" )
741
759
storageclass , err := client .StorageV1 ().StorageClasses ().Get (ctx , sharedStoragePolicyName , metav1.GetOptions {})
742
760
if ! apierrors .IsNotFound (err ) {
@@ -854,6 +872,9 @@ var _ bool = ginkgo.Describe("[domain-isolation] Management-Workload-Domain-Isol
854
872
gomega .Expect (waitForNamespaceToGetDeleted (ctx , client , namespace , poll , pollTimeout )).To (gomega .Succeed ())
855
873
}()
856
874
875
+ ginkgo .By ("Wait for namespace to get listed under supervisor cluster" )
876
+ time .Sleep (2 * time .Minute )
877
+
857
878
ginkgo .By ("Read zonal storage policy of zone3" )
858
879
storageclass , err := client .StorageV1 ().StorageClasses ().Get (ctx , zonalStoragePolicyZone3 , metav1.GetOptions {})
859
880
if ! apierrors .IsNotFound (err ) {
@@ -930,6 +951,9 @@ var _ bool = ginkgo.Describe("[domain-isolation] Management-Workload-Domain-Isol
930
951
gomega .Expect (waitForNamespaceToGetDeleted (ctx , client , namespace , poll , pollTimeout )).To (gomega .Succeed ())
931
952
}()
932
953
954
+ ginkgo .By ("Wait for namespace to get listed under supervisor cluster" )
955
+ time .Sleep (2 * time .Minute )
956
+
933
957
ginkgo .By ("Fetch storage class tagged to wcp namespace" )
934
958
storageClassNames := []string {sharedStoragePolicyName , storagePolicyNameZ1 , storagePolicyNameZ2 }
935
959
storageClasses := make ([]* storagev1.StorageClass , len (storageClassNames ))
@@ -1153,6 +1177,9 @@ var _ bool = ginkgo.Describe("[domain-isolation] Management-Workload-Domain-Isol
1153
1177
gomega .Expect (waitForNamespaceToGetDeleted (ctx , client , namespace , poll , pollTimeout )).To (gomega .Succeed ())
1154
1178
}()
1155
1179
1180
+ ginkgo .By ("Wait for namespace to get listed under supervisor cluster" )
1181
+ time .Sleep (2 * time .Minute )
1182
+
1156
1183
storageClassNames := []string {storagePolicyNameZ1 , sharedStoragePolicyName }
1157
1184
storageClasses := make ([]* storagev1.StorageClass , len (storageClassNames ))
1158
1185
for i , name := range storageClassNames {
@@ -1307,6 +1334,9 @@ var _ bool = ginkgo.Describe("[domain-isolation] Management-Workload-Domain-Isol
1307
1334
gomega .Expect (waitForNamespaceToGetDeleted (ctx , client , namespace , poll , pollTimeout )).To (gomega .Succeed ())
1308
1335
}()
1309
1336
1337
+ ginkgo .By ("Wait for namespace to get listed under supervisor cluster" )
1338
+ time .Sleep (2 * time .Minute )
1339
+
1310
1340
// Create PVCs
1311
1341
ginkgo .By ("Create 2 PVCs with different binding modes" )
1312
1342
storageClassList := []* storagev1.StorageClass {zonalStorageClass , sharedStorageClass }
@@ -1524,6 +1554,9 @@ var _ bool = ginkgo.Describe("[domain-isolation] Management-Workload-Domain-Isol
1524
1554
gomega .Expect (waitForNamespaceToGetDeleted (ctx , client , namespace , poll , pollTimeout )).To (gomega .Succeed ())
1525
1555
}()
1526
1556
1557
+ ginkgo .By ("Wait for namespace to get listed under supervisor cluster" )
1558
+ time .Sleep (2 * time .Minute )
1559
+
1527
1560
ginkgo .By ("Create static volume" )
1528
1561
_ , _ , staticPvc , staticPv , err := createStaticVolumeOnSvc (ctx , client ,
1529
1562
namespace , storageDatastoreUrlZone2 , storagePolicyName )
@@ -1645,6 +1678,9 @@ var _ bool = ginkgo.Describe("[domain-isolation] Management-Workload-Domain-Isol
1645
1678
gomega .Expect (waitForNamespaceToGetDeleted (ctx , client , namespace , poll , pollTimeout )).To (gomega .Succeed ())
1646
1679
}()
1647
1680
1681
+ ginkgo .By ("Wait for namespace to get listed under supervisor cluster" )
1682
+ time .Sleep (2 * time .Minute )
1683
+
1648
1684
ginkgo .By ("Read zonal class" )
1649
1685
storageclassImm , err := client .StorageV1 ().StorageClasses ().Get (ctx , zonalPolicy , metav1.GetOptions {})
1650
1686
if ! apierrors .IsNotFound (err ) {
0 commit comments