Skip to content

Flaky spec: EpicsFinder#execute when epics feature is enabled with correct params by timeframe returns epics which end in the timeframe

Job #1029349493 failed for bd7e8e18:

  1) EpicsFinder#execute when epics feature is enabled with correct params by timeframe returns epics which end in the timeframe
     Failure/Error: expect(epics(params)).to contain_exactly(epic3)
       expected collection contained:  [#<Epic id:267 group344&3>]
       actual collection contained:    [#<Epic id:266 group344&2>, #<Epic id:267 group344&3>]
       the extra elements were:        [#<Epic id:266 group344&2>]
     # ./ee/spec/finders/epics_finder_spec.rb:203:in `block (6 levels) in <top (required)>'
     # ./spec/spec_helper.rb:324:in `block (3 levels) in <top (required)>'
     # ./spec/support/sidekiq_middleware.rb:9:in `with_sidekiq_server_middleware'
     # ./spec/spec_helper.rb:315:in `block (2 levels) in <top (required)>'
     # ./spec/spec_helper.rb:311:in `block (3 levels) in <top (required)>'
     # ./spec/spec_helper.rb:311:in `block (2 levels) in <top (required)>'
     # ./spec/spec_helper.rb:298:in `block (3 levels) in <top (required)>'
     # ./lib/gitlab/with_request_store.rb:17:in `enabling_request_store'
     # ./lib/gitlab/with_request_store.rb:10:in `with_request_store'
     # ./spec/spec_helper.rb:298:in `block (2 levels) in <top (required)>'
Finished in 21 minutes 25 seconds (files took 59 seconds to load)
2538 examples, 1 failure, 1 pending
Failed examples:
rspec ./ee/spec/finders/epics_finder_spec.rb:197 # EpicsFinder#execute when epics feature is enabled with correct params by timeframe returns epics which end in the timeframe
SimpleCov failed with exit 1