Welcome to mirror list, hosted at ThFree Co, Russian Federation.

gitlab.com/gitlab-org/gitlab-foss.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorTimothy Andrew <mail@timothyandrew.net>2016-08-25 12:19:18 +0300
committerTimothy Andrew <mail@timothyandrew.net>2016-08-26 13:58:20 +0300
commitfc92d066356c2becf8db74e0cc0832f2bca2b930 (patch)
tree8a9f7a51450b9bc903653afdb0c7c84e2b515566 /app/models/cycle_analytics.rb
parent3d5729a7008f4ae62190a7862873fc6f28f33425 (diff)
Add the "Test" cycle analytics section.
Diffstat (limited to 'app/models/cycle_analytics.rb')
-rw-r--r--app/models/cycle_analytics.rb6
1 files changed, 6 insertions, 0 deletions
diff --git a/app/models/cycle_analytics.rb b/app/models/cycle_analytics.rb
index 2caccdce9a2..8b791e1e9ac 100644
--- a/app/models/cycle_analytics.rb
+++ b/app/models/cycle_analytics.rb
@@ -17,6 +17,12 @@ class CycleAnalytics
Queries::mr_wip_flag_removed_or_assigned_to_user_other_than_author_time)
end
+ def test
+ calculate_metric(Queries::merge_requests_closing_issues,
+ Queries::mr_build_started_at,
+ Queries::mr_build_finished_at)
+ end
+
def review
calculate_metric(Queries::merge_requests_closing_issues,
Queries::mr_wip_flag_removed_or_assigned_to_user_other_than_author_time,