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
1
Merge Requests
1
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
nexedi
gitlab-ce
Commits
65d6e23d
Commit
65d6e23d
authored
May 12, 2020
by
allison.browne
Committed by
Ash McKenzie
May 28, 2020
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Add more config to job and fix spec
parent
697ef021
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
4 additions
and
2 deletions
+4
-2
app/workers/clusters/applications/check_prometheus_health_worker.rb
...s/clusters/applications/check_prometheus_health_worker.rb
+2
-0
spec/models/clusters/cluster_spec.rb
spec/models/clusters/cluster_spec.rb
+2
-2
No files found.
app/workers/clusters/applications/check_prometheus_health_worker.rb
View file @
65d6e23d
...
...
@@ -9,7 +9,9 @@ module Clusters
include
CronjobQueue
# rubocop:enable Scalability/CronWorkerContext
queue_namespace
:incident_management
feature_category
:incident_management
urgency
:low
idempotent!
...
...
spec/models/clusters/cluster_spec.rb
View file @
65d6e23d
...
...
@@ -194,10 +194,10 @@ describe Clusters::Cluster, :use_clean_rails_memory_store_caching do
subject
{
described_class
.
with_project_alert_service_data
(
project_id
)
}
let!
(
:cluster
)
{
create
(
:cluster
,
:project
)
}
let
(
:project_id
)
{
cluster
.
first_project
.
id
}
let
!
(
:project_id
)
{
cluster
.
first_project
.
id
}
context
'project has alert service data'
do
let
(
:alert
_service
)
{
create
(
:alerts_service
,
project:
cluster
.
clusterable
)
}
let
!
(
:alerts
_service
)
{
create
(
:alerts_service
,
project:
cluster
.
clusterable
)
}
it
{
is_expected
.
to
include
(
cluster
)
}
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