Sign in or sign up before continuing. Don't have an account yet? Register now to get started.
Register now

Failing MySQL spec in ./spec/models/project_mirror_data_spec.rb

See https://gitlab.com/gitlab-org/gitlab-ee/-/jobs/38813283:

Failures:

  1) ProjectMirrorData#set_next_execution_timestamp! when boundaries are surpassed when base delay is lower than mirror min_delay when incrementing retry count applies transition successfully
     Failure/Error:
       expect do
         mirror_data.set_next_execution_timestamp!
       end.to change { mirror_data.next_execution_timestamp }.to be_within(interval).of(timestamp + 45.minutes)

       expected `mirror_data.next_execution_timestamp` to have changed to be within 120 of 2017-11-03 02:54:22 +0000, but is now 2017-11-03 02:57:04.891119264 +0000
     # ./spec/models/project_mirror_data_spec.rb:105:in `block (6 levels) in <top (required)>'

Finished in 18 minutes 39 seconds (files took 25.42 seconds to load)
1284 examples, 1 failure, 14 pending

Failed examples:

rspec ./spec/models/project_mirror_data_spec.rb:101 # ProjectMirrorData#set_next_execution_timestamp! when boundaries are surpassed when base delay is lower than mirror min_delay when incrementing retry count applies transition successfully

/cc: @tiagonbotelho

Assignee Loading
Time tracking Loading