run pipeline worker in cycle analytics dev setup

This commit is contained in:
James Lopez 2016-11-18 10:50:47 +01:00
parent cd222357ad
commit c76ef84781
2 changed files with 3 additions and 1 deletions

View file

@ -203,6 +203,8 @@ class Gitlab::Seeder::CycleAnalytics
pipeline.run!
Timecop.travel rand(1..6).hours.from_now
pipeline.succeed!
PipelineMetricsWorker.new.perform(pipeline.id)
end
end

View file

@ -7,4 +7,4 @@ describe Gitlab::CycleAnalytics::ProductionEvent do
expect(event.order).to eq(event.start_time_attrs)
end
end
end
end