mirror of
https://github.com/k3s-io/kubernetes.git
synced 2025-10-02 16:46:59 +00:00
Add unit tests for OomWatcher that actually test the logic defined in the `Start` method. As a result of an earlier refactor, its now trivial to mock the OOMInstance events which the `oom_watcher` is supposed to be watching.