Skip to content

Improve slow tests in incident_issue_spec

Vitali Tatarintev requested to merge 365774-improve-slow-tests into master

What does this MR do and why?

Combines some tests together to improve the speed

Related to #365774 (closed)

Comparison

Before

→ time be rspec spec/features/issues/incident_issue_spec.rb


Finished in 4 minutes 21.6 seconds (files took 17.95 seconds to load)
8 examples, 0 failures


157.61s user 139.21s system 104% cpu 4:42.75 total

After

→ time be rspec spec/features/issues/incident_issue_spec.rb


Finished in 3 minutes 38.6 seconds (files took 17.84 seconds to load)
3 examples, 0 failures


118.31s user 93.81s system 101% cpu 3:28.89 total

MR acceptance checklist

This checklist encourages us to confirm any changes have been analyzed to reduce risks in quality, performance, reliability, security, and maintainability.

Merge request reports