Skip to content
Snippets Groups Projects
Commit 3263fd9a authored by James Lopez's avatar James Lopez
Browse files

Fix spec failure due to timestamp ordering issue in mySQL

parent 1e64882d
No related branches found
No related tags found
1 merge request!8778Fix spec failure due to timestamp ordering issue in mySQL
Pipeline #
Loading
Loading
@@ -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)
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment