mirror of
https://github.com/kubernetes/node-problem-detector.git
synced 2026-08-23 06:06:25 +00:00
This change adds tests for generateStatus, the monitor lifecycle and the metrics path. Package coverage increases from 0.8% to 95.3% of statements. A table test replays sequences of plugin results against one monitor. The table covers the five condition scenarios in generateStatus. Other tests cover the temporary rule path, the problem counter, the problem gauge and the constructor. This change adds no production code.