gitlab-org--gitlab-foss/spec/services/projects
Stan Hu d4c87d4dd7 Disable Rails SQL query cache when applying service templates
When the SQL query cache is active, the SELECT query for finding
projects to apply service templates returns the same values. This causes
an infinite loop because even though bulk INSERT queries are made, the
cached results never reflect that progress.  To fix this, we call
`Project.uncached` around the query to ensure new data is retrieved.

Closes https://gitlab.com/gitlab-org/gitlab-ce/issues/63595
2019-06-25 15:06:38 -07:00
..
auto_devops Autocorrect with RSpec/ExampleWording cop 2019-04-05 08:43:27 +00:00
container_repository Add Container Registry API 2019-01-25 13:13:48 +01:00
group_links Add frozen_string_literal to spec/services 2019-04-12 10:14:54 +12:00
hashed_storage Add frozen_string_literal to spec/services 2019-04-12 10:14:54 +12:00
import_export Add frozen_string_literal to spec/services 2019-04-12 10:14:54 +12:00
lfs_pointers Protect Gitlab::HTTP against DNS rebinding attack 2019-05-30 10:47:31 -03:00
operations Add ProjectMetricsDashboardSetting model and table 2019-04-26 17:23:26 +00:00
after_import_service_spec.rb Don't run full gc in AfterImportService 2019-05-10 06:55:53 -05:00
after_rename_service_spec.rb Hashed Storage is enabled by default on new installations 2019-06-17 20:35:22 +02:00
autocomplete_service_spec.rb Add frozen_string_literal to spec/services 2019-04-12 10:14:54 +12:00
batch_open_issues_count_service_spec.rb Add frozen_string_literal to spec/services 2019-04-12 10:14:54 +12:00
cleanup_service_spec.rb Remove cleaned up OIDs from database and cache 2019-05-06 11:35:03 +01:00
count_service_spec.rb Add frozen_string_literal to spec/services 2019-04-12 10:14:54 +12:00
create_from_template_service_spec.rb Add frozen_string_literal to spec/services 2019-04-12 10:14:54 +12:00
create_service_spec.rb Hashed Storage is enabled by default on new installations 2019-06-17 20:35:22 +02:00
destroy_service_spec.rb Add frozen_string_literal to spec/services 2019-04-12 10:14:54 +12:00
detect_repository_languages_service_spec.rb Change DetectRepositoryLanguagesWorker to not receive user 2019-05-09 16:54:20 +01:00
download_service_spec.rb Add frozen_string_literal to spec/services 2019-04-12 10:14:54 +12:00
enable_deploy_key_service_spec.rb Add frozen_string_literal to spec/services 2019-04-12 10:14:54 +12:00
fetch_statistics_increment_service_spec.rb Add project http fetch statistics API 2019-02-27 11:52:35 +01:00
fork_service_spec.rb Hashed Storage is enabled by default on new installations 2019-06-17 20:35:22 +02:00
forks_count_service_spec.rb Add frozen_string_literal to spec/services 2019-04-12 10:14:54 +12:00
git_deduplication_service_spec.rb Add GitDeduplicationService for deduplication housekeeping 2019-05-21 13:34:31 -07:00
gitlab_projects_import_service_spec.rb Add frozen_string_literal to spec/services 2019-04-12 10:14:54 +12:00
housekeeping_service_spec.rb Use git_garbage_collect_worker to run pack_refs 2019-05-02 21:41:05 +00:00
import_error_filter_spec.rb Fix path disclosure on Project Import 2019-01-31 16:51:16 +01:00
import_service_spec.rb Refactored LfsImportService and ImportService 2019-04-30 08:21:21 +00:00
move_access_service_spec.rb Add frozen_string_literal to spec/services 2019-04-12 10:14:54 +12:00
move_deploy_keys_projects_service_spec.rb Add frozen_string_literal to spec/services 2019-04-12 10:14:54 +12:00
move_forks_service_spec.rb Add frozen_string_literal to spec/services 2019-04-12 10:14:54 +12:00
move_lfs_objects_projects_service_spec.rb Add frozen_string_literal to spec/services 2019-04-12 10:14:54 +12:00
move_notification_settings_service_spec.rb Add frozen_string_literal to spec/services 2019-04-12 10:14:54 +12:00
move_project_authorizations_service_spec.rb Add frozen_string_literal to spec/services 2019-04-12 10:14:54 +12:00
move_project_group_links_service_spec.rb Add frozen_string_literal to spec/services 2019-04-12 10:14:54 +12:00
move_project_members_service_spec.rb Add frozen_string_literal to spec/services 2019-04-12 10:14:54 +12:00
move_users_star_projects_service_spec.rb Add frozen_string_literal to spec/services 2019-04-12 10:14:54 +12:00
open_issues_count_service_spec.rb Add frozen_string_literal to spec/services 2019-04-12 10:14:54 +12:00
open_merge_requests_count_service_spec.rb Add frozen_string_literal to spec/services 2019-04-12 10:14:54 +12:00
overwrite_project_service_spec.rb Add frozen_string_literal to spec/services 2019-04-12 10:14:54 +12:00
participants_service_spec.rb Add frozen_string_literal to spec/services 2019-04-12 10:14:54 +12:00
propagate_service_template_spec.rb Disable Rails SQL query cache when applying service templates 2019-06-25 15:06:38 -07:00
protect_default_branch_service_spec.rb Refactor code for protecting default branches 2019-01-16 14:25:14 +01:00
repository_languages_service_spec.rb Change DetectRepositoryLanguagesWorker to not receive user 2019-05-09 16:54:20 +01:00
transfer_service_spec.rb Stop configuring group clusters on creation 2019-05-16 20:18:42 -05:00
unlink_fork_service_spec.rb Add frozen_string_literal to spec/services 2019-04-12 10:14:54 +12:00
update_pages_configuration_service_spec.rb Add frozen_string_literal to spec/services 2019-04-12 10:14:54 +12:00
update_pages_service_spec.rb Remove legacy artifact related code 2019-05-31 10:49:17 +07:00
update_remote_mirror_service_spec.rb Add frozen_string_literal to spec/services 2019-04-12 10:14:54 +12:00
update_service_spec.rb Delete unauthorized Todos when project is private 2019-06-05 10:51:52 -03:00
update_statistics_service_spec.rb Add wiki size to project statistics 2019-05-29 16:08:25 +02:00