mirror of
https://github.com/rcourtman/Pulse.git
synced 2026-09-22 03:04:03 +00:00
b2dc91ed66
Tests validate the error pattern matching logic added in previous commit, ensuring we correctly identify: 1. **Standalone Node Patterns** (should trigger fallback): - Classic: 'Corosync config does not exist' - LXC ipcc errors: 'ipcc_send_rec[1] failed: Unknown error -1' - Access control errors: 'Unable to load access control list' - All patterns from GitHub issue #571 2. **Genuine Errors** (should NOT trigger fallback): - Network timeouts - Permission denied - Command not found Tests use real error messages from production GitHub issues to prevent regressions. All 9 test cases pass. Coverage: - 6 standalone/LXC error patterns - 3 genuine error cases (negative testing) - References issue #571 for traceability Related to #571