Improve efficiency of specs for builds queuing
What does this MR do and why?
This merge request reduces the amount of tests running for RegisterJobService
from 142 to 83, reducing the time to run them from around 70 seconds to around 40 seconds on my machine. It does not affect coverage negatively, we just do not run same specs twice unnecessarily.
Finished in 1 minute 12.96 seconds (files took 6.85 seconds to load)
142 examples, 0 failures
Finished in 48.9 seconds (files took 6.7 seconds to load)
83 examples, 0 failures
MR acceptance checklist
This checklist encourages us to confirm any changes have been analyzed to reduce risks in quality, performance, reliability, security, and maintainability.
-
I have evaluated the MR acceptance checklist for this MR.