|
|
07336fefff
|
perf(test): optimize slow tests - 68% faster
- 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)
|
2026-03-05 14:35:58 -06:00 |
|
|
|
086085156f
|
more tests
|
2026-02-03 10:43:30 -06:00 |
|
|
|
13b3810010
|
more tests
|
2026-02-03 10:28:39 -06:00 |
|
|
|
021c86a130
|
more tests and fixes
|
2026-01-31 16:00:07 -06:00 |
|
|
|
8e739283ad
|
refactoring
|
2026-01-29 10:03:43 -06:00 |
|
|
|
f350a9ade4
|
test cleanup
|
2026-01-28 10:31:22 -06:00 |
|
|
|
88c003d474
|
major snmp overhaul
|
2026-01-28 09:07:13 -06:00 |
|
|
|
9697596e99
|
improve credo
|
2026-01-23 18:21:40 -06:00 |
|
|
|
a0ba9285dd
|
bring in snmpkit
|
2026-01-23 12:52:17 -06:00 |
|