kubernetes/pkg/scheduler/framework/runtime
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
..
framework_test.go Introduce scorePluginWeightMap to replace pluginNameToWeightMap 2021-05-11 10:23:29 +08:00
framework.go Introduce scorePluginWeightMap to replace pluginNameToWeightMap 2021-05-11 10:23:29 +08:00
metrics_recorder.go Move scheduler interface to pkg/scheduler/framework 2020-10-13 13:13:27 +11:00
registry_test.go [scheduler] avoid comparing function pointers in unit tests 2021-05-25 09:34:54 -04:00
registry.go Move scheduler interface to pkg/scheduler/framework 2020-10-13 13:13:27 +11:00
waiting_pods_map.go Surface info of failed plugins during PerFilter and Filter 2021-01-28 12:20:42 -08:00