Draft: Speed up CustomAbility specs
What does this MR do and why?
This change attempts to speed up the Authz::CustomAbility
specs.
MR acceptance checklist
Please evaluate this MR against the MR acceptance checklist. It helps you analyze changes to reduce risks in quality, performance, reliability, security, and maintainability.
Screenshots or screen recordings
Before:
モ time bundle exec rspec ee/spec/models/authz/custom_ability_spec.rb
Run options: include {:focus=>true}
All examples were filtered out; ignoring {:focus=>true}
Test environment set up in 0.975181845 seconds
......................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................
Finished in 8 minutes 17 seconds (files took 14.69 seconds to load)
4230 examples, 0 failures
Randomized with seed 1765
[TEST PROF INFO] Time spent in factories: 05:17.797 (63.35% of total time)
real 8m32.748s
user 7m17.490s
sys 0m16.881s
After:
Before | After |
---|---|