mirror of
https://github.com/outbackdingo/kubernetes.git
synced 2026-01-28 02:19:27 +00:00
Rewrite the cpumanager tests to make use of the lessons learned, more modern idioms, remove obsolete assumptions and in gneeral remove all the legacy which was accumulating over the years. The goal is to have a simpler, flatter and more maintenable code layout, de-entangle the net of dependency, making the tests more robust and easier to extend. In short, this is all about maintainability. All the testcases will be preserved, and few other can be added along the way. Comments in the code will explain the code layout decisions and tradeoff, and provide a good guide to add more tests in the future. Special care was added in order to maximize the isolation between tests, at cost, in selected cases of a controlled and planned code duplication. Signed-off-by: Francesco Romani <fromani@redhat.com>