Rspec failure: spec/lib/gitlab/redis/sessions_spec.rb
Job #1870077711 failed for gitlab-foss@f9317c6a:
Failures:
1) Gitlab::Redis::Sessions#store behaves like multi store feature flags with feature flag :use_primary_and_secondary_stores_for_sessions is enabled multi store is enabled
Failure/Error: expect(subject.use_primary_and_secondary_stores?).to be true
expected true
got false
Shared Example Group: "multi store feature flags" called from ./spec/lib/gitlab/redis/sessions_spec.rb:61
# ./spec/support/shared_examples/lib/gitlab/redis/multi_store_feature_flags_shared_examples.rb:10:in `block (3 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/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::Redis::Sessions#store behaves like multi store feature flags with feature flag :use_primary_store_as_default_for_sessions is enabled primary store is enabled
Failure/Error: expect(subject.use_primary_store_as_default?).to be true
expected true
got false
Shared Example Group: "multi store feature flags" called from ./spec/lib/gitlab/redis/sessions_spec.rb:61
# ./spec/support/shared_examples/lib/gitlab/redis/multi_store_feature_flags_shared_examples.rb:30:in `block (3 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/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 34 minutes 51 seconds (files took 38.05 seconds to load)
3100 examples, 2 failures, 4 pending
Failed examples:
rspec './spec/lib/gitlab/redis/sessions_spec.rb[1:15:3:1:1]' # Gitlab::Redis::Sessions#store behaves like multi store feature flags with feature flag :use_primary_and_secondary_stores_for_sessions is enabled multi store is enabled
rspec './spec/lib/gitlab/redis/sessions_spec.rb[1:15:3:3:1]' # Gitlab::Redis::Sessions#store behaves like multi store feature flags with feature flag :use_primary_store_as_default_for_sessions is enabled primary store is enabled