Commit 424a2dc3 authored by Igor Drozdov's avatar Igor Drozdov

Mitigate N+1 spec expectation for EpicIssues::CreateService

Expecting one more SQL request doesn't seem to be critical

Let's fix the spec by mitigation and address the N+1 query
separately
parent e973c650
......@@ -154,7 +154,7 @@ RSpec.describe EpicIssues::CreateService do
# and we insert 5 issues instead of 1 which we do for control count
expect { described_class.new(epic, user, params).execute }
.not_to exceed_query_limit(control_count)
.with_threshold(28)
.with_threshold(29)
end
end
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment