Commit 419c011
committed
test(pod-health): add comprehensive unit tests for pod health monitoring
Add 703 lines of unit tests covering pod failure analysis, container status
detection, ConfigMap error extraction, and failure message building. Tests
verify all failure types (scheduling, init, crash, image pull, config errors)
and message prioritization logic.
Also exclude generated code and test utils from coverage reports via .codacy.yml
and Makefile filtering.1 parent 4134a2a commit 419c011
3 files changed
+709
-1
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
| 1 | + | |
| 2 | + | |
| 3 | + | |
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
114 | 114 | | |
115 | 115 | | |
116 | 116 | | |
117 | | - | |
| 117 | + | |
| 118 | + | |
| 119 | + | |
118 | 120 | | |
119 | 121 | | |
120 | 122 | | |
| |||
0 commit comments