@@ -467,7 +467,7 @@ func TestWlReconcile(t *testing.T) {
467467 AdmissionCheck (kueue.AdmissionCheckState {
468468 Name : "ac1" ,
469469 State : kueue .CheckStateReady ,
470- LastTransitionTime : metav1 .NewTime (time .Now ().Add (- defaulWorkerLostTimeout / 2 )), //50% of the timeout
470+ LastTransitionTime : metav1 .NewTime (time .Now ().Add (- defaultWorkerLostTimeout / 2 )), //50% of the timeout
471471 Message : `The workload got reservation on "worker1"` ,
472472 }).
473473 ControllerReference (batchv1 .SchemeGroupVersion .WithKind ("Job" ), "job1" , "uid1" ).
@@ -493,7 +493,7 @@ func TestWlReconcile(t *testing.T) {
493493 AdmissionCheck (kueue.AdmissionCheckState {
494494 Name : "ac1" ,
495495 State : kueue .CheckStateReady ,
496- LastTransitionTime : metav1 .NewTime (time .Now ().Add (- defaulWorkerLostTimeout * 3 / 2 )), // 150% of the timeout
496+ LastTransitionTime : metav1 .NewTime (time .Now ().Add (- defaultWorkerLostTimeout * 3 / 2 )), // 150% of the timeout
497497 Message : `The workload got reservation on "worker1"` ,
498498 }).
499499 ControllerReference (batchv1 .SchemeGroupVersion .WithKind ("Job" ), "job1" , "uid1" ).
@@ -708,7 +708,7 @@ func TestWlReconcile(t *testing.T) {
708708 }
709709
710710 helper , _ := newMultiKueueStoreHelper (managerClient )
711- reconciler := newWlReconciler (managerClient , helper , cRec , defaultOrigin , defaulWorkerLostTimeout )
711+ reconciler := newWlReconciler (managerClient , helper , cRec , defaultOrigin , defaultWorkerLostTimeout )
712712
713713 _ , gotErr := reconciler .Reconcile (ctx , reconcile.Request {NamespacedName : types.NamespacedName {Name : tc .reconcileFor , Namespace : TestNamespace }})
714714 if diff := cmp .Diff (tc .wantError , gotErr , cmpopts .EquateErrors ()); diff != "" {
0 commit comments