Skip to content
Snippets Groups Projects

Improve testing speed

Merged Pelle Koster requested to merge faster-tests into develop

Improves testing speed by ~x3 (from ~3 min to ~1 min on my machine, parallel 12 threads):

  • Load big 'router-info.json' only once, instead keep one non-mutating dict for all tests
  • mock out ncc client to prevent trying to connect
  • do not setup logging in tests (mostly for not creating error.log and info.log files)
  • some more minor changes...

Merge request reports

Loading
Loading

Activity

Filter activity
  • Approvals
  • Assignees & reviewers
  • Comments (from bots)
  • Comments (from users)
  • Commits & branches
  • Edits
  • Labels
  • Lock status
  • Mentions
  • Merge request status
  • Tracking
Please register or sign in to reply
Loading