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
fe1cc091
Commit
fe1cc091
authored
Jul 08, 2021
by
alinamihaila
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Fix failing tests
parent
ff900fe6
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
4 additions
and
2 deletions
+4
-2
ee/spec/config/metrics/every_metric_definition_spec.rb
ee/spec/config/metrics/every_metric_definition_spec.rb
+3
-1
ee/spec/lib/ee/gitlab/usage_data_non_sql_metrics_spec.rb
ee/spec/lib/ee/gitlab/usage_data_non_sql_metrics_spec.rb
+1
-1
No files found.
ee/spec/config/metrics/every_metric_definition_spec.rb
View file @
fe1cc091
...
...
@@ -29,6 +29,7 @@ RSpec.describe 'Every metric definition' do
geo_node_usage
mock_ci
mock_monitoring
projects_with_enabled_alert_integrations_histogram
user_auth_by_provider
user_dast_scans
user_sast_scans
...
...
@@ -37,13 +38,14 @@ RSpec.describe 'Every metric definition' do
user_secret_detection_scans
user_coverage_fuzzing_scans
user_api_fuzzing_scans
topology
)
.
freeze
end
let
(
:metric_files_key_paths
)
do
Gitlab
::
Usage
::
MetricDefinition
.
definitions
.
reject
{
|
k
,
v
|
v
.
status
==
'removed'
||
v
.
value_type
==
'object'
||
v
.
key_path
=~
Regexp
.
union
(
ignored_metric_files_key_patterns
)}
.
reject
{
|
k
,
v
|
v
.
status
==
'removed'
||
v
.
key_path
=~
Regexp
.
union
(
ignored_metric_files_key_patterns
)}
.
keys
.
sort
end
...
...
ee/spec/lib/ee/gitlab/usage_data_non_sql_metrics_spec.rb
View file @
fe1cc091
...
...
@@ -15,7 +15,7 @@ RSpec.describe Gitlab::UsageDataNonSqlMetrics do
described_class
.
uncached_data
end
expect
(
recorder
.
count
).
to
eq
(
5
4
)
expect
(
recorder
.
count
).
to
eq
(
5
5
)
end
end
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