Commit f08d756e authored by Rémy Coutable's avatar Rémy Coutable

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
parents 4480bef1 3263fd9a
......@@ -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