BigW Consortium Gitlab

Commit 431983f9 by Rémy Coutable Committed by James Lopez

Merge branch 'fix/cycle-analytics-spec-failure' into 'master'

Fix spec failure due to timestamp ordering issue in mySQL Closes #26622 See merge request !8778
parent 16f23de6
......@@ -13,7 +13,12 @@ describe 'cycle analytics events' do
allow_any_instance_of(Gitlab::ReferenceExtractor).to receive(:issues).and_return([issue])
3.times { create_cycle }
3.times do |count|
Timecop.freeze(Time.now + count.days) do
create_cycle
end
end
deploy_master
login_as(user)
......
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