Rspec failure: spec/lib/gitlab/usage/metrics/instrumentations/count_imported_projects_metric_spec.rb[1:2:2:1:1:1]
Job #2465622221 failed for b2449e30:
Failures:
1) Gitlab::Usage::Metrics::Instrumentations::CountImportedProjectsMetric with import_type bitbucket for 28d time frame behaves like a correct instrumented metric value and query behaves like a correct instrumented metric value has correct value
Failure/Error: expect(metric.value).to eq(expected_value)
expected: 2
got: 1
(compared using ==)
Shared Example Group: "a correct instrumented metric value" called from ./spec/support/gitlab/usage/metrics_instrumentation_shared_examples.rb:38
Shared Example Group: "a correct instrumented metric value and query" called from ./spec/lib/gitlab/usage/metrics/instrumentations/count_imported_projects_metric_spec.rb:65
# ./spec/support/gitlab/usage/metrics_instrumentation_shared_examples.rb:15:in `block (2 levels) in <top (required)>'
# ./spec/spec_helper.rb:421:in `block (3 levels) in <top (required)>'
# ./spec/support/sidekiq_middleware.rb:9:in `with_sidekiq_server_middleware'
# ./spec/spec_helper.rb:412:in `block (2 levels) in <top (required)>'
# ./spec/spec_helper.rb:408:in `block (3 levels) in <top (required)>'
# ./lib/gitlab/application_context.rb:50:in `with_raw_context'
# ./spec/spec_helper.rb:408:in `block (2 levels) in <top (required)>'
# ./spec/spec_helper.rb:269:in `block (2 levels) in <top (required)>'
# ./spec/support/system_exit_detected.rb:7:in `block (2 levels) in <top (required)>'
# ./spec/support/flaky_tests.rb:27:in `block (2 levels) in <top (required)>'
# ./spec/support/database/prevent_cross_joins.rb:106:in `block (3 levels) in <top (required)>'
# ./spec/support/database/prevent_cross_joins.rb:60:in `with_cross_joins_prevented'
# ./spec/support/database/prevent_cross_joins.rb:106:in `block (2 levels) in <top (required)>'
Finished in 14.74 seconds (files took 49.51 seconds to load)
1 example, 1 failure
Failed examples:
rspec './spec/lib/gitlab/usage/metrics/instrumentations/count_imported_projects_metric_spec.rb[1:2:2:1:1:1]' # Gitlab::Usage::Metrics::Instrumentations::CountImportedProjectsMetric with import_type bitbucket for 28d time frame behaves like a correct instrumented metric value and query behaves like a correct instrumented metric value has correct value
Stopped processing SimpleCov as a previous error not related to SimpleCov has been detected