@@ -644,7 +644,7 @@ var _ = Describe("test CRP rollout with staged update run", func() {
644644 })
645645 })
646646
647- Context ("Test staged update run with overrides" , Ordered , func () {
647+ Context ("Test cluster staged update run with overrides" , Ordered , func () {
648648 var strategy * placementv1beta1.ClusterStagedUpdateStrategy
649649 updateRunName := fmt .Sprintf (clusterStagedUpdateRunNameWithSubIndexTemplate , GinkgoParallelProcess (), 0 )
650650 croName := fmt .Sprintf (croNameTemplate , GinkgoParallelProcess ())
@@ -778,15 +778,15 @@ var _ = Describe("test CRP rollout with staged update run", func() {
778778 validateLatestClusterResourceSnapshot (crpName , resourceSnapshotIndex1st )
779779 })
780780
781+ It ("Should successfully schedule the crp" , func () {
782+ validateLatestClusterSchedulingPolicySnapshot (crpName , policySnapshotIndex1st , 3 )
783+ })
784+
781785 It ("Should update crp status as pending rollout" , func () {
782786 crpStatusUpdatedActual := crpStatusWithExternalStrategyActual (nil , "" , false , allMemberClusterNames , []string {"" , "" , "" }, []bool {false , false , false }, nil , nil )
783787 Eventually (crpStatusUpdatedActual , eventuallyDuration , eventuallyInterval ).Should (Succeed (), "Failed to update CRP %s status as expected" , crpName )
784788 })
785789
786- It ("Should successfully schedule the crp" , func () {
787- validateLatestClusterSchedulingPolicySnapshot (crpName , policySnapshotIndex1st , 3 )
788- })
789-
790790 It ("Should create a cluster staged update run successfully" , func () {
791791 createClusterStagedUpdateRunSucceed (updateRunName , crpName , resourceSnapshotIndex1st , strategyName )
792792 })
@@ -824,7 +824,7 @@ var _ = Describe("test CRP rollout with staged update run", func() {
824824 })
825825 })
826826
827- Context ("Test staged update run with reportDiff mode" , Ordered , func () {
827+ Context ("Test cluster staged update run with reportDiff mode" , Ordered , func () {
828828 var strategy * placementv1beta1.ClusterStagedUpdateStrategy
829829 var applyStrategy * placementv1beta1.ApplyStrategy
830830 updateRunName := fmt .Sprintf (clusterStagedUpdateRunNameWithSubIndexTemplate , GinkgoParallelProcess (), 0 )
@@ -881,15 +881,15 @@ var _ = Describe("test CRP rollout with staged update run", func() {
881881 validateLatestClusterResourceSnapshot (crpName , resourceSnapshotIndex1st )
882882 })
883883
884+ It ("Should successfully schedule the crp" , func () {
885+ validateLatestClusterSchedulingPolicySnapshot (crpName , policySnapshotIndex1st , 3 )
886+ })
887+
884888 It ("Should update crp status as pending rollout" , func () {
885889 crpStatusUpdatedActual := crpStatusWithExternalStrategyActual (nil , "" , false , allMemberClusterNames , []string {"" , "" , "" }, []bool {false , false , false }, nil , nil )
886890 Eventually (crpStatusUpdatedActual , eventuallyDuration , eventuallyInterval ).Should (Succeed (), "Failed to update CRP %s status as expected" , crpName )
887891 })
888892
889- It ("Should successfully schedule the crp" , func () {
890- validateLatestClusterSchedulingPolicySnapshot (crpName , policySnapshotIndex1st , 3 )
891- })
892-
893893 It ("Should create a cluster staged update run successfully" , func () {
894894 createClusterStagedUpdateRunSucceed (updateRunName , crpName , resourceSnapshotIndex1st , strategyName )
895895 })
0 commit comments