rcourtman
|
d697633fed
|
test: Add ApplyHostReport error path tests
Add 4 tests for error and edge cases:
- Missing hostname returns error
- Whitespace-only hostname returns error
- Nil hostTokenBindings map is initialized
- Fallback identifier generation
Coverage: 63.7% → 70.8%
|
2025-12-02 02:03:03 +00:00 |
|
rcourtman
|
df4a596e8b
|
test: Add RemoveHostAgent error path tests
Add 4 tests for uncovered branches:
- Empty/whitespace hostID returns error
- Host not found returns synthetic host
- No token binding (token exists but not bound)
- Nil alertManager doesn't panic
Coverage: 64.3% → 78.6%
|
2025-12-02 01:56:50 +00:00 |
|
rcourtman
|
d9f58fc45e
|
test: Add tests for handleProxyHostFailure, recordNodeSnapshot, evaluateHostAgents
- handleProxyHostFailure: 76.5%→100% (9 cases for per-host failure tracking)
- recordNodeSnapshot: 75%→100% (6 cases for diagnostic snapshot storage)
- evaluateHostAgents: 87%→100% (10 cases for host health evaluation)
|
2025-12-01 19:40:32 +00:00 |
|
rcourtman
|
bd0c47ed1b
|
Improve token collision handling and installer subnet support
|
2025-11-20 09:45:36 +00:00 |
|
rcourtman
|
d643dcf0bc
|
perf: reduce polling allocations and guest metadata load
|
2025-10-25 13:12:47 +00:00 |
|