gitlab-org--gitlab-foss/spec/workers
Douwe Maan b56f093c2b Merge branch 'looser-time-in-specs' into 'master'
Add a be_like_time matcher and use it in specs

## What does this MR do?

Introduces a be_like_time matcher and refactors existing code to use it

## Are there points in the code the reviewer needs to double check?

A few sites use be_within(2.seconds) or 5.minutes - I didn't change those

## Why was this MR needed?

A custom matcher helps to document that we need to compare times loosely, and keeps the fudge factor from being declared in multiple places.

## Screenshots (if relevant)

## Does this MR meet the acceptance criteria?

- [ ] [CHANGELOG](https://gitlab.com/gitlab-org/gitlab-ce/blob/master/CHANGELOG) entry added
- [ ] [Documentation created/updated](https://gitlab.com/gitlab-org/gitlab-ce/blob/master/doc/development/doc_styleguide.md)
- [ ] API support added
- Tests
  - [ ] Added for this feature/bug
  - [ ] All builds are passing
- [ ] Conform by the [merge request performance guides](http://docs.gitlab.com/ce/development/merge_request_performance_guidelines.html)
- [ ] Conform by the [style guides](https://gitlab.com/gitlab-org/gitlab-ce/blob/master/CONTRIBUTING.md#style-guides)
- [ ] Branch has no merge conflicts with `master` (if it does - rebase it please)
- [ ] [Squashed related commits together](https://git-scm.com/book/en/Git-Tools-Rewriting-History#Squashing-Commits)

## What are the relevant issue numbers?

Related to !6935

See merge request !6936
2016-10-18 11:47:04 +00:00
..
repository_check Project tools visibility level 2016-09-01 11:47:59 -03:00
build_coverage_worker_spec.rb Update code coverage for CI build asynchronously 2016-10-13 15:22:55 +02:00
build_email_worker_spec.rb
build_finished_worker_spec.rb Add build finished worker that creates a workflow 2016-10-14 14:45:14 +02:00
build_hooks_worker_spec.rb Perform CI build hooks asynchronously using worker 2016-10-13 12:45:16 +02:00
build_success_worker_spec.rb Do not process build success if project was removed 2016-10-13 14:56:32 +02:00
delete_user_worker_spec.rb
email_receiver_worker_spec.rb
emails_on_push_worker_spec.rb refactors tests because of gitlab-test repository changes 2016-10-11 16:33:06 +01:00
expire_build_artifacts_worker_spec.rb ExpireBuildArtifactsWorker query builds table without ordering enqueuing one job per build to cleanup 2016-10-07 15:33:58 +02:00
expire_build_instance_artifacts_worker_spec.rb Avoid race condition when expiring artifacts 2016-10-17 19:47:03 +02:00
git_garbage_collect_worker_spec.rb
group_destroy_worker_spec.rb
merge_worker_spec.rb
pipeline_hooks_worker_spec.rb Execute pipeline hooks asynchronously 2016-10-12 20:20:01 +02:00
pipeline_metrics_worker_spec.rb Add a be_like_time matcher and use it in specs 2016-10-17 14:44:20 +01:00
pipeline_proccess_worker_spec.rb Rename pipeline workers to match current convention 2016-10-06 14:52:00 +02:00
pipeline_success_worker_spec.rb Process MWBS in successful pipeline asynchronously 2016-10-07 09:32:29 +02:00
pipeline_update_worker_spec.rb Rename pipeline workers to match current convention 2016-10-06 14:52:00 +02:00
post_receive_spec.rb Extract project#update_merge_requests and SystemHooks to its own worker from GitPushService 2016-10-13 17:23:24 +02:00
project_cache_worker_spec.rb
project_destroy_worker_spec.rb
prune_old_events_worker_spec.rb Added cron to prune events older than 12 months. 2016-09-07 19:41:25 +02:00
remove_expired_group_links_worker_spec.rb
remove_expired_members_worker_spec.rb
repository_fork_worker_spec.rb
repository_import_worker_spec.rb
stuck_ci_builds_worker_spec.rb
trending_projects_worker_spec.rb Precalculate trending projects 2016-10-10 12:27:08 +02:00
update_merge_requests_worker_spec.rb Extract project#update_merge_requests and SystemHooks to its own worker from GitPushService 2016-10-13 17:23:24 +02:00