kubernetes/pkg/scheduler
Davanum Srinivas 383ce85649
[scheduler] avoid comparing function pointers in unit tests
PluginFactory is a function that returns a plugin. We have been
comparing these functions in unit tests and it has worked so far, but
starts to fail in gotip/master.

Note from the golang team:
```
Func values are incomparable. It is true that you could get the PC
through reflection but it is still not expected to be compared. PCs
can change due to inlining, wrappers, etc., depending on the
compiler's details, which is subject to change.
```

Signed-off-by: Davanum Srinivas <davanum@gmail.com>
2021-05-25 09:34:54 -04:00
..
algorithmprovider Prioritizing nodes based on volume capacity 2021-03-05 23:59:25 +08:00
apis/config Use aliases in sig apps and scheduling APIs OWNERS 2021-05-17 17:56:20 +00:00
core Scheduler: remove pkg/features dependency from NodeResources plugins 2021-05-18 08:59:02 -04:00
framework [scheduler] avoid comparing function pointers in unit tests 2021-05-25 09:34:54 -04:00
internal got rid of ClusterEventReg with generating ClusterEvent objects on the fly 2021-04-14 13:38:46 -05:00
metrics hack/update-bazel.sh 2021-02-28 15:17:29 -08:00
profile make runtime.NewFramework accept KubeSchedulerProfile 2021-03-05 18:30:21 +00:00
testing sched: support PreEnqueueChecks prior to moving Pods 2021-03-11 12:31:50 -08:00
util Drop IsScalarResourceName check in GetNonzeroRequestForResource 2021-04-30 13:00:55 +02:00
eventhandlers_test.go Merge pull request #100286 from tanjing2020/skip_updates_assumed_pods 2021-04-08 20:29:29 -07:00
eventhandlers.go Scheduler now registers event handlers dynamically 2021-05-21 13:47:06 -07:00
factory_test.go Scheduler now registers event handlers dynamically 2021-05-21 13:47:06 -07:00
factory.go Scheduler now registers event handlers dynamically 2021-05-21 13:47:06 -07:00
OWNERS delete all duplicate empty blanks 2019-02-23 10:28:04 +08:00
scheduler_test.go Scheduler: remove pkg/features dependency from NodeResources plugins 2021-05-18 08:59:02 -04:00
scheduler.go Scheduler now registers event handlers dynamically 2021-05-21 13:47:06 -07:00