mirror of
https://github.com/k3s-io/kubernetes.git
synced 2026-07-26 07:14:12 +00:00
For some packages (in particular the code DRA), all allocator implementations can handle the testcases. Some other packages are for less stable features and work with fewer implementations. Now all unit tests are run with all suitable implementations, to increase code coverage. Benchmarks are fixed to the most mature implementation because they would be costly to run in more than one. When promoting an allocation implementation we can do before/after comparisons to detect potential performance regressions. The downside of this approach is that we need to remember to extend the list of supported implementations when promoting features, otherwise testing will miss some new supported implementation.