summaryrefslogtreecommitdiff
path: root/lib/gitlab/cycle_analytics/test_event.rb
blob: d553d0b5aecc8ac1dff64e3b7d86af45bf16e1cd (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
module Gitlab
  module CycleAnalytics
    class TestEvent < StagingEvent
      def initialize(*args)
        super(*args)

        @stage = :test
        @start_time_attrs =  mr_metrics_table[:latest_build_started_at]
        @end_time_attrs = mr_metrics_table[:latest_build_finished_at]
      end
    end
  end
end