- Add 'error' to valid sensor reading status values - SensorReading changeset was rejecting 'error' status - PollWorker creates error readings when SNMP fails - Fixed validation to include: ok, warning, critical, error - Replace log capture tests with functional assertions - ExUnit.CaptureLog not reliably capturing worker logs - Changed to verify actual behavior instead of log messages - Tests now check created records and state changes - Add debug assertions to sensor error test - Verify SNMP device exists and has sensors - Better error messages for test failures All 1045 tests now passing (0 failures, 2 skipped) |
||
|---|---|---|
| .. | ||
| integration | ||
| support | ||
| towerops | ||
| towerops_web | ||
| test_helper.exs | ||