mirror of
https://github.com/k3s-io/kubernetes.git
synced 2025-12-15 23:53:09 +00:00
feat: implement "queue-sort" extension point for scheduling framework
This commit is contained in:
@@ -256,7 +256,7 @@ func TestDefaultErrorFunc(t *testing.T) {
|
||||
defer close(stopCh)
|
||||
|
||||
timestamp := time.Now()
|
||||
queue := internalqueue.NewPriorityQueueWithClock(nil, clock.NewFakeClock(timestamp))
|
||||
queue := internalqueue.NewPriorityQueueWithClock(nil, clock.NewFakeClock(timestamp), nil)
|
||||
schedulerCache := internalcache.New(30*time.Second, stopCh)
|
||||
errFunc := MakeDefaultErrorFunc(client, queue, schedulerCache, stopCh)
|
||||
|
||||
|
||||
Reference in New Issue
Block a user