Req's default `retry: :safe_transient` waits ~7s across exponential backoff when the stubbed response is a 5xx or connection error. Tests that asserted error-status behavior paid that price on every run. Disable retries in test env for every direct Req caller: * `Towerops.HTTP` (covers weather/netbox/geocoding/http_executor/pagerduty) * `CnMaestro.Client`, `Gaiia.Client`, `Preseem.Client`, `Sonar.Client`, `Splynx.Client`, `Agents.ReleaseChecker`, `Billing.StripeClient` Use `Keyword.put_new(:retry, false)` so any test explicitly opting into retry behavior is respected. Suite time: 82.8s → 65.3s. Slowest test dropped from 7050ms to 1447ms. |
||
|---|---|---|
| .. | ||
| mix/tasks | ||
| snmpkit | ||
| towerops | ||
| towerops_web | ||
| snmp_lib.ex | ||
| snmp_mgr.ex | ||
| snmpkit.ex | ||
| towerops.ex | ||
| towerops_native.ex | ||
| towerops_web.ex | ||