run pipeline worker in cycle analytics dev setup
This commit is contained in:
parent
cd222357ad
commit
c76ef84781
2 changed files with 3 additions and 1 deletions
|
@ -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
|
||||
|
||||
|
|
|
@ -7,4 +7,4 @@ describe Gitlab::CycleAnalytics::ProductionEvent do
|
|||
expect(event.order).to eq(event.start_time_attrs)
|
||||
end
|
||||
end
|
||||
end
|
||||
end
|
||||
|
|
Loading…
Reference in a new issue