Skip to content

Commit

Permalink
fix: update event_handlers_test
Browse files Browse the repository at this point in the history
  • Loading branch information
LY-today committed Jun 14, 2022
1 parent 9023632 commit 8798bf4
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion pkg/scheduler/cache/event_handlers_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -428,7 +428,7 @@ func TestSchedulerCache_DeletePodGroupV1beta1(t *testing.T) {
Nodes: make(map[string]*api.NodeInfo),
}

cache.deletedJobs = workqueue.NewRateLimitingQueue(workqueue.DefaultControllerRateLimiter())
cache.DeletedJobs = workqueue.NewRateLimitingQueue(workqueue.DefaultControllerRateLimiter())

for _, n := range test.Nodes {
cache.AddNode(n)
Expand Down

0 comments on commit 8798bf4

Please sign in to comment.