@@ -1437,15 +1437,12 @@ func TestQueueSecondPassIfNeeded(t *testing.T) {
14371437 wantReady : sets .New (workload .NewReference ("default" , "second" )),
14381438 },
14391439 "workload no longer needs second pass after first iteration" : {
1440- workloads : []* kueue.Workload {
1441- baseWorkloadNeedingSecondPass .DeepCopy (),
1442- },
1443- passTime : time .Second ,
1444- wantReady : sets .New [workload.Reference ](),
1445-
1440+ workloads : []* kueue.Workload {
1441+ baseWorkloadNeedingSecondPass .DeepCopy (),
1442+ },
1443+ passTime : time .Second ,
1444+ wantReady : sets .New [workload.Reference ](),
14461445 },
1447-
1448-
14491446 }
14501447 for name , tc := range cases {
14511448 t .Run (name , func (t * testing.T ) {
@@ -1460,11 +1457,11 @@ func TestQueueSecondPassIfNeeded(t *testing.T) {
14601457 manager .QueueSecondPassIfNeeded (ctx , wl , 0 )
14611458 }
14621459 if name == "workload no longer needs second pass after first iteration" {
1463- manager .QueueSecondPassIfNeeded (
1464- ctx ,
1465- baseWorkloadNotNeedingSecondPass .DeepCopy (),
1466- 1 ,
1467- )
1460+ manager .QueueSecondPassIfNeeded (
1461+ ctx ,
1462+ baseWorkloadNotNeedingSecondPass .DeepCopy (),
1463+ 1 ,
1464+ )
14681465 }
14691466 for _ , wl := range tc .deleted .UnsortedList () {
14701467 manager .secondPassQueue .deleteByKey (wl )
0 commit comments