@@ -728,7 +728,7 @@ var _ = Describe("UpdateRun execution tests - single stage", func() {
728728
729729 updateRun = generateTestClusterStagedUpdateRun ()
730730 crp = generateTestClusterResourcePlacement ()
731- resourceBindings , targetClusters , _ = generateSmallTestClusterResourceBindingsAndClusters (1 )
731+ resourceBindings , targetClusters , _ = generateSmallTestClusterResourceBindingsAndClusters (1 , 0 )
732732 policySnapshot = generateTestClusterSchedulingPolicySnapshot (1 , len (targetClusters ))
733733 resourceSnapshot = generateTestClusterResourceSnapshot ()
734734 resourceSnapshot = generateTestClusterResourceSnapshot ()
@@ -810,7 +810,7 @@ var _ = Describe("UpdateRun execution tests - single stage", func() {
810810 Expect (k8sClient .Create (ctx , updateRun )).To (Succeed ())
811811
812812 By ("Validating the initialization succeeded and the execution started" )
813- initialized := generateSucceededInitializationStatusForSmallClusters (crp , updateRun , testResourceSnapshotIndex , policySnapshot , updateStrategy )
813+ initialized := generateSucceededInitializationStatusForSmallClusters (crp , updateRun , testResourceSnapshotIndex , policySnapshot , updateStrategy , 0 )
814814 wantStatus = generateExecutionStartedStatus (updateRun , initialized )
815815 validateClusterStagedUpdateRunStatus (ctx , updateRun , wantStatus , "" )
816816
@@ -904,7 +904,7 @@ var _ = Describe("UpdateRun execution tests - single stage", func() {
904904 Expect (k8sClient .Create (ctx , updateRun )).To (Succeed ())
905905
906906 By ("Validating the initialization succeeded and the execution started" )
907- initialized := generateSucceededInitializationStatusForSmallClusters (crp , updateRun , testResourceSnapshotIndex , policySnapshot , updateStrategy )
907+ initialized := generateSucceededInitializationStatusForSmallClusters (crp , updateRun , testResourceSnapshotIndex , policySnapshot , updateStrategy , 0 )
908908 wantStatus = generateExecutionStartedStatus (updateRun , initialized )
909909 validateClusterStagedUpdateRunStatus (ctx , updateRun , wantStatus , "" )
910910
@@ -1013,7 +1013,7 @@ var _ = Describe("UpdateRun execution tests - single stage", func() {
10131013 Expect (k8sClient .Create (ctx , updateRun )).To (Succeed ())
10141014
10151015 By ("Validating the initialization succeeded and the execution started" )
1016- initialized := generateSucceededInitializationStatusForSmallClusters (crp , updateRun , testResourceSnapshotIndex , policySnapshot , updateStrategy )
1016+ initialized := generateSucceededInitializationStatusForSmallClusters (crp , updateRun , testResourceSnapshotIndex , policySnapshot , updateStrategy , 0 )
10171017 wantStatus = generateExecutionStartedStatus (updateRun , initialized )
10181018 validateClusterStagedUpdateRunStatus (ctx , updateRun , wantStatus , "" )
10191019
@@ -1145,7 +1145,7 @@ var _ = Describe("UpdateRun execution tests - single stage", func() {
11451145 Expect (k8sClient .Create (ctx , updateRun )).To (Succeed ())
11461146
11471147 By ("Validating the initialization succeeded and the execution started" )
1148- initialized := generateSucceededInitializationStatusForSmallClusters (crp , updateRun , testResourceSnapshotIndex , policySnapshot , updateStrategy )
1148+ initialized := generateSucceededInitializationStatusForSmallClusters (crp , updateRun , testResourceSnapshotIndex , policySnapshot , updateStrategy , 0 )
11491149 wantStatus = generateExecutionStartedStatus (updateRun , initialized )
11501150 validateClusterStagedUpdateRunStatus (ctx , updateRun , wantStatus , "" )
11511151
@@ -1237,7 +1237,7 @@ var _ = Describe("UpdateRun execution tests - single stage", func() {
12371237 Expect (k8sClient .Create (ctx , updateRun )).To (Succeed ())
12381238
12391239 By ("Validating the initialization succeeded and the execution started" )
1240- initialized := generateSucceededInitializationStatusForSmallClusters (crp , updateRun , testResourceSnapshotIndex , policySnapshot , updateStrategy )
1240+ initialized := generateSucceededInitializationStatusForSmallClusters (crp , updateRun , testResourceSnapshotIndex , policySnapshot , updateStrategy , 0 )
12411241 wantStatus = generateExecutionStartedStatus (updateRun , initialized )
12421242 validateClusterStagedUpdateRunStatus (ctx , updateRun , wantStatus , "" )
12431243
@@ -1300,7 +1300,7 @@ var _ = Describe("UpdateRun execution tests - single stage", func() {
13001300 Expect (k8sClient .Create (ctx , updateRun )).To (Succeed ())
13011301
13021302 By ("Validating the initialization succeeded and the execution has not started" )
1303- initialized := generateSucceededInitializationStatusForSmallClusters (crp , updateRun , testResourceSnapshotIndex , policySnapshot , updateStrategy )
1303+ initialized := generateSucceededInitializationStatusForSmallClusters (crp , updateRun , testResourceSnapshotIndex , policySnapshot , updateStrategy , 0 )
13041304 wantStatus = generateExecutionNotStartedStatus (updateRun , initialized )
13051305 validateClusterStagedUpdateRunStatus (ctx , updateRun , wantStatus , "" )
13061306
@@ -1534,7 +1534,7 @@ var _ = Describe("UpdateRun execution tests - single stage", func() {
15341534 Expect (k8sClient .Create (ctx , updateRun )).To (Succeed ())
15351535
15361536 By ("Validating the initialization succeeded and but not execution started" )
1537- wantStatus = generateSucceededInitializationStatusForSmallClusters (crp , updateRun , testResourceSnapshotIndex , policySnapshot , updateStrategy )
1537+ wantStatus = generateSucceededInitializationStatusForSmallClusters (crp , updateRun , testResourceSnapshotIndex , policySnapshot , updateStrategy , 0 )
15381538 validateClusterStagedUpdateRunStatus (ctx , updateRun , wantStatus , "" )
15391539
15401540 By ("Checking update run status metrics are emitted" )
0 commit comments