@@ -2470,7 +2470,7 @@ func TestRequeueAndUpdate(t *testing.T) {
24702470
24712471 for _ , tc := range cases {
24722472 t .Run (tc .name , func (t * testing.T ) {
2473- ctx , log := utiltesting .ContextWithLog (t )
2473+ ctx , _ := utiltesting .ContextWithLog (t )
24742474 scheme := runtime .NewScheme ()
24752475
24762476 updates := 0
@@ -2504,7 +2504,7 @@ func TestRequeueAndUpdate(t *testing.T) {
25042504 t .Fatalf ("Failed getting heads in cluster queue" )
25052505 }
25062506 tc .e .Info = wInfos [0 ]
2507- scheduler .requeueAndUpdate (log , ctx , tc .e )
2507+ scheduler .requeueAndUpdate (ctx , tc .e )
25082508
25092509 qDump := qManager .Dump ()
25102510 if diff := cmp .Diff (tc .wantWorkloads , qDump , cmpDump ... ); diff != "" {
@@ -2524,7 +2524,7 @@ func TestRequeueAndUpdate(t *testing.T) {
25242524 t .Errorf ("Unexpected status after updating (-want,+got):\n %s" , diff )
25252525 }
25262526 // Make sure a second call doesn't make unnecessary updates.
2527- scheduler .requeueAndUpdate (log , ctx , tc .e )
2527+ scheduler .requeueAndUpdate (ctx , tc .e )
25282528 if updates != tc .wantStatusUpdates {
25292529 t .Errorf ("Observed %d status updates, want %d" , updates , tc .wantStatusUpdates )
25302530 }
0 commit comments