summaryrefslogtreecommitdiff
path: root/spec/workers
Commit message (Collapse)AuthorAgeFilesLines
* Cleanup stuck CI builds dailydrop-old-buildsKamil Trzcinski2015-11-031-0/+44
|
* Remove RepositoryArchiveWorker specsJacob Vosmaer2015-10-141-79/+0
| | | | These tasks have shifted to gitlab_git and gitlab-git-http-server.
* Rename reply_by_email to incoming_email to prepare for the future.Douwe Maan2015-09-211-2/+2
|
* remove API calls from CE to CIci_closer_integrationValery Sizov2015-09-181-10/+0
|
* Import forked repositories asynchronously to prevent large repositories from ↵Stan Hu2015-09-111-0/+29
| | | | | | | | | timing out Use import_status to track async import status and give feedback to the user Closes #2388 Closes #2400
* Expire cache when merge request source branch was removedfix-branches-cache-after-mergeDmitriy Zaporozhets2015-08-282-1/+29
| | | | Signed-off-by: Dmitriy Zaporozhets <dmitriy.zaporozhets@gmail.com>
* Merge branch 'handle-smtp-input-errors' into 'master'Dmitriy Zaporozhets2015-08-251-0/+34
|\ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Gracefully handle SMTP user input errors (e.g. incorrect email addresses) to prevent Sidekiq retries ### What does this MR do? This MR gracefully handles SMTP input errors (e.g. incorrect or invalid e-mail addresses) to prevent these types of exceptions from causing Sidekiq to retry the task. If these specific exceptions occur, they will be logged, and the e-mail will be dropped from the queue. ### Why was this MR needed? If you include an author that has a misspelled e-mail address, Sidekiq will keep sending e-mail to all the recipients even if they have already received the e-mail. The only way to recover is to clear the Sidekiq queue. Note that other exceptions can still be thrown (e.g. `IOError`, `Net::SMTPAuthenticationError`, `Net::SMTPServerBusy`, `Net::SMTPUnknownError`, and `TimeoutError`). If the worker encounters these, Sidekiq should retry the task. ### What are the relevant issue numbers? Closes https://github.com/gitlabhq/gitlabhq/issues/9560 See merge request !1163
| * Gracefully handle SMTP user input errors (e.g. incorrect email addresses) to ↵Stan Hu2015-08-191-0/+34
| | | | | | | | | | | | prevent Sidekiq retries Closes https://github.com/gitlabhq/gitlabhq/issues/9560
* | Add fixture_file helper.Douwe Maan2015-08-201-6/+0
| |
* | Update spec.Douwe Maan2015-08-201-2/+2
| |
* | Test EmailReceiverWorker.Douwe Maan2015-08-201-0/+51
|/
* Merge branch 'master' into rubocop-for-testsDmitriy Zaporozhets2015-06-231-1/+1
|\ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Signed-off-by: Dmitriy Zaporozhets <dmitriy.zaporozhets@gmail.com> Conflicts: spec/features/issues_spec.rb spec/models/forked_project_link_spec.rb spec/models/hooks/service_hook_spec.rb spec/models/hooks/web_hook_spec.rb spec/models/project_services/hipchat_service_spec.rb spec/requests/api/project_members_spec.rb spec/requests/api/projects_spec.rb spec/requests/api/system_hooks_spec.rb spec/services/archive_repository_service_spec.rb spec/support/matchers.rb spec/tasks/gitlab/backup_rake_spec.rb
| * Update mock and stub syntax for specsRobert Speicher2015-06-221-1/+1
| |
* | Fix Style/TrailingBlankLines cop violationsRobert Speicher2015-06-221-1/+0
|/
* CI forking: testsValery Sizov2015-04-061-0/+10
|
* Add tests.Douwe Maan2015-03-311-0/+80
|
* Prevent gitlab-shell character encoding issues by receiving its changes as ↵Douwe Maan2015-03-151-9/+9
| | | | raw data.
* Updated rspec to rspec 3.x syntaxJeroen van Baarsen2015-02-121-8/+8
| | | | Signed-off-by: Jeroen van Baarsen <jeroenvanbaarsen@gmail.com>
* Fix post-receive specsDmitriy Zaporozhets2014-09-021-4/+7
| | | | Signed-off-by: Dmitriy Zaporozhets <dmitriy.zaporozhets@gmail.com>
* Merge branch 'improve/mr_diff'Dmitriy Zaporozhets2014-01-231-1/+1
|\ | | | | | | | | | | | | | | | | | | | | Signed-off-by: Dmitriy Zaporozhets <dmitriy.zaporozhets@gmail.com> Conflicts: features/steps/project/project_fork.rb features/steps/project/project_forked_merge_requests.rb features/steps/project/project_issue_tracker.rb features/steps/project/project_markdown_render.rb features/steps/shared/project.rb
| * Make changes to testsDmitriy Zaporozhets2014-01-221-1/+1
| | | | | | | | | | | | | | * project_with_code -> project * project -> ermpty_project Signed-off-by: Dmitriy Zaporozhets <dmitriy.zaporozhets@gmail.com>
* | Remove deprecated findersskv2014-01-191-1/+1
|/
* fixed test using repo with commits but old factoryDmitriy Zaporozhets2013-04-011-1/+1
|
* Fixing testsDmitriy Zaporozhets2013-02-251-2/+0
|
* fixing tests after refactoringDmitriy Zaporozhets2013-02-111-1/+1
|
* Fixed: post-receive, project remove, testsDmitriy Zaporozhets2013-02-051-2/+2
|
* sidekiq with green testsDmitriy Zaporozhets2013-01-091-4/+4
|
* Update uses of Gitolite.config.foo settingsRiyad Preukschas2012-12-201-1/+1
|
* Fix spec/workers/post_receive_spec.rbDmitriy Zaporozhets2012-12-131-2/+2
|
* Fix worker specs to parse namespacesDmitriy Zaporozhets2012-12-091-4/+8
|
* Post Receive Refactored. Service hooks also triggered nowDmitriy Zaporozhets2012-11-191-9/+5
|
* Remove backward compatibility of factories.Vincent Bonmalais2012-11-131-2/+2
|
* Fully embrace Ruby 1.9 hash syntaxRobert Speicher2012-08-101-1/+1
| | | | Didn't bother with files in db/, config/, or features/
* System hooks: fix broken testsValeriy Sizov2012-07-191-2/+2
|
* Fix issues with push 600+ commits. refactored, improved push eventsrandx2012-04-041-2/+2
|
* Updated specs for post_receive workerAriejan de Vroom2012-03-011-11/+24
|
* Fixed tests. removed delegate to idDmitriy Zaporozhets2012-02-291-3/+8
|
* Added web hooks functionalityAriejan de Vroom2011-12-141-0/+26
This commit includes: * Projects can have zero or more WebHooks. * The PostReceive job will ask a project to execute any web hooks defined for that project. * WebHook has a URL, we post Github-compatible JSON to that URL. * Failure to execute a WebHook will be silently ignored.