@@ -1967,7 +1967,7 @@ func TestLastSchedulingContext(t *testing.T) {
19671967 Resource (corev1 .ResourceCPU , "100" , "0" ).Obj (),
19681968 ).Obj (),
19691969 }
1970- clusterQueue_cohort := []kueue.ClusterQueue {
1970+ clusterQueueCohort := []kueue.ClusterQueue {
19711971 * utiltesting .MakeClusterQueue ("eng-cohort-alpha" ).
19721972 Cohort ("cohort" ).
19731973 QueueingStrategy (kueue .StrictFIFO ).
@@ -2118,7 +2118,7 @@ func TestLastSchedulingContext(t *testing.T) {
21182118 },
21192119 {
21202120 name : "borrow before next flavor" ,
2121- cqs : clusterQueue_cohort ,
2121+ cqs : clusterQueueCohort ,
21222122 admittedWorkloads : []kueue.Workload {
21232123 * utiltesting .MakeWorkload ("placeholder" , "default" ).
21242124 Request (corev1 .ResourceCPU , "50" ).
@@ -2150,7 +2150,7 @@ func TestLastSchedulingContext(t *testing.T) {
21502150 },
21512151 {
21522152 name : "borrow after all flavors" ,
2153- cqs : clusterQueue_cohort ,
2153+ cqs : clusterQueueCohort ,
21542154 admittedWorkloads : []kueue.Workload {
21552155 * utiltesting .MakeWorkload ("placeholder" , "default" ).
21562156 Request (corev1 .ResourceCPU , "50" ).
@@ -2182,7 +2182,7 @@ func TestLastSchedulingContext(t *testing.T) {
21822182 },
21832183 {
21842184 name : "when the next flavor is full, but can borrow on first" ,
2185- cqs : clusterQueue_cohort ,
2185+ cqs : clusterQueueCohort ,
21862186 admittedWorkloads : []kueue.Workload {
21872187 * utiltesting .MakeWorkload ("placeholder" , "default" ).
21882188 Request (corev1 .ResourceCPU , "40" ).
@@ -2220,7 +2220,7 @@ func TestLastSchedulingContext(t *testing.T) {
22202220 },
22212221 {
22222222 name : "when the next flavor is full, but can preempt on first" ,
2223- cqs : clusterQueue_cohort ,
2223+ cqs : clusterQueueCohort ,
22242224 admittedWorkloads : []kueue.Workload {
22252225 * utiltesting .MakeWorkload ("placeholder-alpha" , "default" ).
22262226 Priority (- 1 ).
0 commit comments