@@ -107,14 +107,14 @@ func TestHelmReleaseReconciler_reconcileRelease(t *testing.T) {
107107 WithStatusSubresource (& v2.HelmRelease {}).
108108 WithObjects (dependency , obj ).
109109 Build (),
110- EventRecorder : record .NewFakeRecorder (32 ),
111- requeueDependency : 5 * time .Second ,
110+ EventRecorder : record .NewFakeRecorder (32 ),
111+ DependencyRequeueInterval : 5 * time .Second ,
112112 }
113113 r .APIReader = r .Client
114114
115115 res , err := r .reconcileRelease (context .TODO (), patch .NewSerialPatcher (obj , r .Client ), obj )
116116 g .Expect (err ).To (Equal (errWaitForDependency ))
117- g .Expect (res .RequeueAfter ).To (Equal (r .requeueDependency ))
117+ g .Expect (res .RequeueAfter ).To (Equal (r .DependencyRequeueInterval ))
118118
119119 g .Expect (obj .Status .Conditions ).To (conditions .MatchConditions ([]metav1.Condition {
120120 * conditions .TrueCondition (meta .ReconcilingCondition , meta .ProgressingReason , "" ),
@@ -235,7 +235,7 @@ func TestHelmReleaseReconciler_reconcileRelease(t *testing.T) {
235235
236236 res , err := r .reconcileRelease (context .TODO (), patch .NewSerialPatcher (obj , r .Client ), obj )
237237 g .Expect (err ).To (Equal (errWaitForChart ))
238- g .Expect (res .RequeueAfter ).To (Equal (r .requeueDependency ))
238+ g .Expect (res .RequeueAfter ).To (Equal (r .DependencyRequeueInterval ))
239239
240240 g .Expect (obj .Status .Conditions ).To (conditions .MatchConditions ([]metav1.Condition {
241241 * conditions .TrueCondition (meta .ReconcilingCondition , meta .ProgressingReason , "" ),
@@ -292,7 +292,7 @@ func TestHelmReleaseReconciler_reconcileRelease(t *testing.T) {
292292
293293 res , err := r .reconcileRelease (context .TODO (), patch .NewSerialPatcher (obj , r .Client ), obj )
294294 g .Expect (err ).To (Equal (errWaitForChart ))
295- g .Expect (res .RequeueAfter ).To (Equal (r .requeueDependency ))
295+ g .Expect (res .RequeueAfter ).To (Equal (r .DependencyRequeueInterval ))
296296
297297 g .Expect (obj .Status .Conditions ).To (conditions .MatchConditions ([]metav1.Condition {
298298 * conditions .TrueCondition (meta .ReconcilingCondition , meta .ProgressingReason , "" ),
@@ -400,13 +400,13 @@ func TestHelmReleaseReconciler_reconcileRelease(t *testing.T) {
400400 WithStatusSubresource (& v2.HelmRelease {}).
401401 WithObjects (chart , obj ).
402402 Build (),
403- requeueDependency : 10 * time .Second ,
403+ DependencyRequeueInterval : 10 * time .Second ,
404404 }
405405 r .APIReader = r .Client
406406
407407 res , err := r .reconcileRelease (context .TODO (), patch .NewSerialPatcher (obj , r .Client ), obj )
408408 g .Expect (err ).To (Equal (errWaitForDependency ))
409- g .Expect (res .RequeueAfter ).To (Equal (r .requeueDependency ))
409+ g .Expect (res .RequeueAfter ).To (Equal (r .DependencyRequeueInterval ))
410410
411411 g .Expect (obj .Status .Conditions ).To (conditions .MatchConditions ([]metav1.Condition {
412412 * conditions .TrueCondition (meta .ReconcilingCondition , meta .ProgressingReason , "" ),
@@ -1112,7 +1112,7 @@ func TestHelmReleaseReconciler_reconcileReleaseFromHelmChartSource(t *testing.T)
11121112
11131113 res , err := r .reconcileRelease (context .TODO (), patch .NewSerialPatcher (obj , r .Client ), obj )
11141114 g .Expect (err ).To (Equal (errWaitForChart ))
1115- g .Expect (res .RequeueAfter ).To (Equal (r .requeueDependency ))
1115+ g .Expect (res .RequeueAfter ).To (Equal (r .DependencyRequeueInterval ))
11161116
11171117 g .Expect (obj .Status .Conditions ).To (conditions .MatchConditions ([]metav1.Condition {
11181118 * conditions .TrueCondition (meta .ReconcilingCondition , meta .ProgressingReason , "" ),
@@ -1166,13 +1166,13 @@ func TestHelmReleaseReconciler_reconcileReleaseFromHelmChartSource(t *testing.T)
11661166 WithStatusSubresource (& v2.HelmRelease {}).
11671167 WithObjects (chart , obj ).
11681168 Build (),
1169- requeueDependency : 10 * time .Second ,
1170- EventRecorder : record .NewFakeRecorder (32 ),
1169+ DependencyRequeueInterval : 10 * time .Second ,
1170+ EventRecorder : record .NewFakeRecorder (32 ),
11711171 }
11721172
11731173 res , err := r .reconcileRelease (context .TODO (), patch .NewSerialPatcher (obj , r .Client ), obj )
11741174 g .Expect (err ).To (Equal (errWaitForDependency ))
1175- g .Expect (res .RequeueAfter ).To (Equal (r .requeueDependency ))
1175+ g .Expect (res .RequeueAfter ).To (Equal (r .DependencyRequeueInterval ))
11761176
11771177 g .Expect (obj .Status .Conditions ).To (conditions .MatchConditions ([]metav1.Condition {
11781178 * conditions .TrueCondition (meta .ReconcilingCondition , meta .ProgressingReason , "" ),
@@ -1246,13 +1246,13 @@ func TestHelmReleaseReconciler_reconcileReleaseFromHelmChartSource(t *testing.T)
12461246 WithStatusSubresource (& v2.HelmRelease {}).
12471247 WithObjects (chart , sharedChart , obj ).
12481248 Build (),
1249- requeueDependency : 10 * time .Second ,
1250- EventRecorder : record .NewFakeRecorder (32 ),
1249+ DependencyRequeueInterval : 10 * time .Second ,
1250+ EventRecorder : record .NewFakeRecorder (32 ),
12511251 }
12521252
12531253 res , err := r .reconcileRelease (context .TODO (), patch .NewSerialPatcher (obj , r .Client ), obj )
12541254 g .Expect (err ).To (Equal (errWaitForDependency ))
1255- g .Expect (res .RequeueAfter ).To (Equal (r .requeueDependency ))
1255+ g .Expect (res .RequeueAfter ).To (Equal (r .DependencyRequeueInterval ))
12561256
12571257 g .Expect (obj .Status .Conditions ).To (conditions .MatchConditions ([]metav1.Condition {
12581258 * conditions .TrueCondition (meta .ReconcilingCondition , meta .ProgressingReason , "" ),
@@ -1579,7 +1579,7 @@ func TestHelmReleaseReconciler_reconcileReleaseFromOCIRepositorySource(t *testin
15791579
15801580 res , err := r .reconcileRelease (context .TODO (), patch .NewSerialPatcher (obj , r .Client ), obj )
15811581 g .Expect (err ).To (Equal (errWaitForChart ))
1582- g .Expect (res .RequeueAfter ).To (Equal (r .requeueDependency ))
1582+ g .Expect (res .RequeueAfter ).To (Equal (r .DependencyRequeueInterval ))
15831583
15841584 g .Expect (obj .Status .Conditions ).To (conditions .MatchConditions ([]metav1.Condition {
15851585 * conditions .TrueCondition (meta .ReconcilingCondition , meta .ProgressingReason , "" ),
@@ -1695,13 +1695,13 @@ func TestHelmReleaseReconciler_reconcileReleaseFromOCIRepositorySource(t *testin
16951695 WithStatusSubresource (& v2.HelmRelease {}).
16961696 WithObjects (ocirepo , obj ).
16971697 Build (),
1698- requeueDependency : 10 * time .Second ,
1699- EventRecorder : record .NewFakeRecorder (32 ),
1698+ DependencyRequeueInterval : 10 * time .Second ,
1699+ EventRecorder : record .NewFakeRecorder (32 ),
17001700 }
17011701
17021702 res , err := r .reconcileRelease (context .TODO (), patch .NewSerialPatcher (obj , r .Client ), obj )
17031703 g .Expect (err ).To (Equal (errWaitForDependency ))
1704- g .Expect (res .RequeueAfter ).To (Equal (r .requeueDependency ))
1704+ g .Expect (res .RequeueAfter ).To (Equal (r .DependencyRequeueInterval ))
17051705
17061706 g .Expect (obj .Status .Conditions ).To (conditions .MatchConditions ([]metav1.Condition {
17071707 * conditions .TrueCondition (meta .ReconcilingCondition , meta .ProgressingReason , "" ),
@@ -1775,13 +1775,13 @@ func TestHelmReleaseReconciler_reconcileReleaseFromOCIRepositorySource(t *testin
17751775 WithStatusSubresource (& v2.HelmRelease {}).
17761776 WithObjects (chart , ocirepo , obj ).
17771777 Build (),
1778- requeueDependency : 10 * time .Second ,
1779- EventRecorder : record .NewFakeRecorder (32 ),
1778+ DependencyRequeueInterval : 10 * time .Second ,
1779+ EventRecorder : record .NewFakeRecorder (32 ),
17801780 }
17811781
17821782 res , err := r .reconcileRelease (context .TODO (), patch .NewSerialPatcher (obj , r .Client ), obj )
17831783 g .Expect (err ).To (Equal (errWaitForDependency ))
1784- g .Expect (res .RequeueAfter ).To (Equal (r .requeueDependency ))
1784+ g .Expect (res .RequeueAfter ).To (Equal (r .DependencyRequeueInterval ))
17851785
17861786 g .Expect (obj .Status .Conditions ).To (conditions .MatchConditions ([]metav1.Condition {
17871787 * conditions .TrueCondition (meta .ReconcilingCondition , meta .ProgressingReason , "" ),
0 commit comments