Skip to content

RSpec failure: ./spec/lib/gitlab_spec.rb

Job #1865234391 failed for 102f676a:

Failures:
  1) Gitlab ee? and jh? .ee? for CE returns not to be EE
     Failure/Error: expect(described_class).not_to be_ee
       expected `Gitlab.ee?` to be falsey, got true
     # ./spec/lib/gitlab_spec.rb:323:in `block (5 levels) in <top (required)>'
     # ./spec/spec_helper.rb:412:in `block (3 levels) in <top (required)>'
     # ./spec/support/sidekiq_middleware.rb:9:in `with_sidekiq_server_middleware'
     # ./spec/spec_helper.rb:403:in `block (2 levels) in <top (required)>'
     # ./spec/spec_helper.rb:399:in `block (3 levels) in <top (required)>'
     # ./lib/gitlab/application_context.rb:31:in `with_raw_context'
     # ./spec/spec_helper.rb:399:in `block (2 levels) in <top (required)>'
     # ./spec/support/flaky_tests.rb:27:in `block (2 levels) in <top (required)>'
     # ./spec/support/database/query_analyzer.rb:9:in `block (3 levels) in <top (required)>'
     # ./lib/gitlab/database/query_analyzer.rb:42:in `within'
     # ./spec/support/database/query_analyzer.rb:9: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)>'
  2) Gitlab ee? and jh? .jh? for JH when using default FOSS_ONLY and EE_ONLY returns to be JH
     Failure/Error: expect(described_class).to be_jh
       expected `Gitlab.jh?` to be truthy, got false
     # ./spec/lib/gitlab_spec.rb:339:in `block (6 levels) in <top (required)>'
     # ./spec/spec_helper.rb:412:in `block (3 levels) in <top (required)>'
     # ./spec/support/sidekiq_middleware.rb:9:in `with_sidekiq_server_middleware'
     # ./spec/spec_helper.rb:403:in `block (2 levels) in <top (required)>'
     # ./spec/spec_helper.rb:399:in `block (3 levels) in <top (required)>'
     # ./lib/gitlab/application_context.rb:31:in `with_raw_context'
     # ./spec/spec_helper.rb:399:in `block (2 levels) in <top (required)>'
     # ./spec/support/flaky_tests.rb:27:in `block (2 levels) in <top (required)>'
     # ./spec/support/database/query_analyzer.rb:9:in `block (3 levels) in <top (required)>'
     # ./lib/gitlab/database/query_analyzer.rb:42:in `within'
     # ./spec/support/database/query_analyzer.rb:9: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 40 minutes 49 seconds (files took 55.04 seconds to load)
3932 examples, 2 failures, 2 pending
Failed examples:
rspec ./spec/lib/gitlab_spec.rb:322 # Gitlab ee? and jh? .ee? for CE returns not to be EE
rspec ./spec/lib/gitlab_spec.rb:338 # Gitlab ee? and jh? .jh? for JH when using default FOSS_ONLY and EE_ONLY returns to be JH