diff options
author | GitLab Bot <gitlab-bot@gitlab.com> | 2022-09-20 02:18:09 +0300 |
---|---|---|
committer | GitLab Bot <gitlab-bot@gitlab.com> | 2022-09-20 02:18:09 +0300 |
commit | 6ed4ec3e0b1340f96b7c043ef51d1b33bbe85fde (patch) | |
tree | dc4d20fe6064752c0bd323187252c77e0a89144b /spec/lib/gitlab/usage_data/topology_spec.rb | |
parent | 9868dae7fc0655bd7ce4a6887d4e6d487690eeed (diff) |
Add latest changes from gitlab-org/gitlab@15-4-stable-eev15.4.0-rc42
Diffstat (limited to 'spec/lib/gitlab/usage_data/topology_spec.rb')
-rw-r--r-- | spec/lib/gitlab/usage_data/topology_spec.rb | 16 |
1 files changed, 8 insertions, 8 deletions
diff --git a/spec/lib/gitlab/usage_data/topology_spec.rb b/spec/lib/gitlab/usage_data/topology_spec.rb index 737580e3493..dfdf8eaabe8 100644 --- a/spec/lib/gitlab/usage_data/topology_spec.rb +++ b/spec/lib/gitlab/usage_data/topology_spec.rb @@ -187,7 +187,7 @@ RSpec.describe Gitlab::UsageData::Topology do [ { 'metric' => { 'instance' => 'localhost:9100' }, - 'value' => [1000, '512'] + 'value' => [1000, '512'] } ] end @@ -196,7 +196,7 @@ RSpec.describe Gitlab::UsageData::Topology do [ { 'metric' => { 'instance' => 'localhost:9100' }, - 'value' => [1000, '0.35'] + 'value' => [1000, '0.35'] } ] end @@ -224,23 +224,23 @@ RSpec.describe Gitlab::UsageData::Topology do [ { 'metric' => { 'instance' => 'localhost:8080', 'job' => 'gitlab-rails' }, - 'value' => [1000, '10'] + 'value' => [1000, '10'] }, { 'metric' => { 'instance' => '127.0.0.1:8090', 'job' => 'gitlab-sidekiq' }, - 'value' => [1000, '11'] + 'value' => [1000, '11'] }, { 'metric' => { 'instance' => '0.0.0.0:9090', 'job' => 'prometheus' }, - 'value' => [1000, '12'] + 'value' => [1000, '12'] }, { 'metric' => { 'instance' => '[::1]:1234', 'job' => 'redis' }, - 'value' => [1000, '13'] + 'value' => [1000, '13'] }, { 'metric' => { 'instance' => '[::]:1234', 'job' => 'postgres' }, - 'value' => [1000, '14'] + 'value' => [1000, '14'] } ] end @@ -640,7 +640,7 @@ RSpec.describe Gitlab::UsageData::Topology do .and_return(result || [ { 'metric' => { 'instance' => 'instance1:8080', 'job' => 'gitlab-rails' }, - 'value' => [1000, '300'] + 'value' => [1000, '300'] }, { 'metric' => { 'instance' => 'instance1:8090', 'job' => 'gitlab-sidekiq' }, |