提交 3263fd9a 编写于 作者: J James Lopez

Fix spec failure due to timestamp ordering issue in mySQL

上级 1e64882d
......@@ -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% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册