kubernetes/pkg/scheduler/framework
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
..
fake hack/update-bazel.sh 2021-02-28 15:17:29 -08:00
plugins Merge pull request #100026 from minbaev/enqueue-extions-to-nvl 2021-05-24 21:48:20 -07:00
runtime [scheduler] avoid comparing function pointers in unit tests 2021-05-25 09:34:54 -04:00
cycle_state_test.go Move scheduler interface to pkg/scheduler/framework 2020-10-13 13:13:27 +11:00
cycle_state.go sched: make CycleState's Read()/Write()/Delete() thread-safe 2021-05-05 12:00:52 -07:00
extender.go multiple extenders and UnschedulableAndUnresolvable takes precedence 2021-01-29 11:32:43 +08:00
interface_test.go Add Equal func for Status struct 2021-02-04 00:32:01 +08:00
interface.go Surface kube config in scheduler framework handle 2021-03-30 11:54:59 -07:00
listers.go Move scheduler interface to pkg/scheduler/framework 2020-10-13 13:13:27 +11:00
types_test.go pkg/scheduler: drop Resource.ResourceList() method 2021-04-28 16:26:33 +02:00
types.go pkg/scheduler: drop Resource.ResourceList() method 2021-04-28 16:26:33 +02:00