Fix Geo::LogCursor::Daemon spec

What does this MR do and why?

Fix Geo::LogCursor::Daemon spec

  • sleep method was renamed, without updating the stub. Leading to slow spec times

References

Method was renamed in b044f855

Closes https://gitlab.com/gitlab-org/quality/test-failure-issues/-/issues/1886

How to set up and validate locally

  1. Run bundle exec rspec -r spec_helper ee/spec/lib/gitlab/geo/log_cursor/daemon_spec.rb:93 against master and check the timing
  2. Run bundle exec rspec -r spec_helper ee/spec/lib/gitlab/geo/log_cursor/daemon_spec.rb:93 against this branch and check the timing

MR acceptance checklist

Evaluate this MR against the MR acceptance checklist. It helps you analyze changes to reduce risks in quality, performance, reliability, security, and maintainability.

Edited by Ian Baum

Merge request reports

Loading