Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
G
gitlab-ce
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
Analytics
Analytics
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Commits
Issue Boards
Open sidebar
Jérome Perrin
gitlab-ce
Commits
c76ef847
Commit
c76ef847
authored
Nov 18, 2016
by
James Lopez
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
run pipeline worker in cycle analytics dev setup
parent
cd222357
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
3 additions
and
1 deletion
+3
-1
db/fixtures/development/17_cycle_analytics.rb
db/fixtures/development/17_cycle_analytics.rb
+2
-0
spec/lib/gitlab/cycle_analytics/production_event_spec.rb
spec/lib/gitlab/cycle_analytics/production_event_spec.rb
+1
-1
No files found.
db/fixtures/development/17_cycle_analytics.rb
View file @
c76ef847
...
...
@@ -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
...
...
spec/lib/gitlab/cycle_analytics/production_event_spec.rb
View file @
c76ef847
...
...
@@ -7,4 +7,4 @@ describe Gitlab::CycleAnalytics::ProductionEvent do
expect
(
event
.
order
).
to
eq
(
event
.
start_time_attrs
)
end
end
end
\ No newline at end of file
end
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment