towerops/lib/towerops/preseem
Graham McIntire 85dd821400 tests: disable Req retries in test env to eliminate ~7s-per-test delays
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.
2026-04-24 10:04:52 -05:00
..
access_point.ex add preseem access points schema and migration 2026-02-12 17:11:36 -06:00
baseline.ex dialyzer: fix all unmatched_return warnings (154 → 0) 2026-04-21 10:03:55 -05:00
client.ex tests: disable Req retries in test env to eliminate ~7s-per-test delays 2026-04-24 10:04:52 -05:00
device_baseline.ex add preseem device baselines and fleet profiles schemas 2026-02-13 08:31:15 -06:00
device_matcher.ex add device matcher for preseem AP to towerops device linking 2026-02-12 17:52:54 -06:00
fleet_intelligence.ex refactor/dry-improvements (#202) 2026-03-28 10:56:34 -05:00
fleet_profile.ex add preseem device baselines and fleet profiles schemas 2026-02-13 08:31:15 -06:00
insight.ex feat: add comprehensive wireless client tracking and monitoring 2026-03-10 09:57:12 -05:00
insights.ex refactor/dry-improvements (#202) 2026-03-28 10:56:34 -05:00
subscriber_metric.ex add preseem subscriber metrics schema and migration 2026-02-12 17:12:53 -06:00
sync.ex dialyzer: fix remaining 88 warnings — clean dialyzer run 2026-04-21 10:32:42 -05:00
sync_log.ex add preseem sync logs schema and migration 2026-02-12 17:12:19 -06:00