- Add timeout: 100 to SNMP tests to avoid 5s default timeout on unreachable IPs - Reduce retry delays in error handler tests from 50-100ms to 1ms - Fix Splynx rate limit test to stub auth immediately without extra calls - Use localhost instead of device.local to avoid DNS timeout - Use temp empty dir for ImportProfiles test instead of scanning 788 real files Results: - Top 10 slowest: 45.6s → 14.6s (68% reduction) - Overall suite: ~80s → 39.9s (50% faster) - Specific improvements: * Splynx sync: 7010ms → 134ms (98% faster) * ImportProfiles: 5502ms → 33ms (99% faster) * get_bulk!: 5043ms → 125ms (97% faster) * Walk hostname: 5005ms → 119ms (97% faster) * Error retries: 3103ms → 6ms (99% faster) |
||
|---|---|---|
| .. | ||
| gen_vendor_modules_test.exs | ||
| gen_vendor_tests_test.exs | ||
| geoip.import_test.exs | ||
| import_profiles_test.exs | ||
| oban.cancel_stuck_discovery_test.exs | ||
| populate_english_test.exs | ||