docbrown/spec/models
Gonzalo Ricco 5d22cdef79
Prevent deadlocks with article-collection updates. (#6371) [deploy]
When an article is updated the associated collection is touched along with all its articles. This creates a deadlock where two transaction(nested) lock the article that was updated.
With this commit the collection wll be touched after the article updates transaction has been commited. Doing so we have two sequential transactions.
2020-03-02 09:38:15 -05:00
..
concerns Add worker for removing Elasticsearch docs (#6213) [deploy] 2020-02-21 08:13:36 -05:00
shared_examples Various optimizations (#6249) [deploy] 2020-02-25 13:42:24 -05:00
webhook Improve speed of model tests by around 50/60 seconds (#5016) 2019-12-09 16:33:48 -05:00
api_secret_spec.rb ApiSecret model for Developer API (#1369) 2019-01-08 12:30:54 -05:00
application_record_spec.rb Switch decorators to Rails builtin decorations - take 2 (#6125) [deploy] 2020-02-19 15:30:53 -05:00
article_destroy_spec.rb Move Articles::ScoreCalcJob to Sidekiq (#5875) [deploy] 2020-02-04 10:01:46 -08:00
article_spec.rb Prevent deadlocks with article-collection updates. (#6371) [deploy] 2020-03-02 09:38:15 -05:00
audit_log_spec.rb Improve speed of model tests by around 50/60 seconds (#5016) 2019-12-09 16:33:48 -05:00
backup_data_spec.rb Add functionality to remove and recover identity (#3377) 2019-07-03 12:01:16 -04:00
badge_achievement_spec.rb use new_badge_achievement_worker instead of active job (#5358) [deploy] 2020-01-07 08:16:17 -05:00
badge_spec.rb Improve speed of model tests by around 50/60 seconds (#5016) 2019-12-09 16:33:48 -05:00
banished_user_spec.rb Introduce BanishedUser table (#5589) [deploy] 2020-01-21 17:15:58 -05:00
block_spec.rb Improve speed of model tests by around 50/60 seconds (#5016) 2019-12-09 16:33:48 -05:00
buffer_update_spec.rb Improve speed of model tests by around 50/60 seconds (#5016) 2019-12-09 16:33:48 -05:00
chat_channel_membership_spec.rb Fix pagination on Search::ChatChannelMembership (#6328) [deploy] 2020-02-27 09:56:05 -08:00
chat_channel_spec.rb Destroy messages if chat channels are destroyed (#5498) 2020-01-14 09:46:40 -06:00
classified_listing_spec.rb Refactor logic to index to Elasticsearch (#6286) [deploy] 2020-02-25 11:06:42 -08:00
collection_spec.rb Improve speed of model tests by around 50/60 seconds (#5016) 2019-12-09 16:33:48 -05:00
comment_spec.rb Allow comments without a commentable to be edited and destroyed (#5945) 2020-02-25 13:45:50 -05:00
credit_spec.rb Improve speed of model tests by around 50/60 seconds (#5016) 2019-12-09 16:33:48 -05:00
data_update_script_spec.rb Use DataUpdateScript.scripts_to_run? in development (#6309) 2020-02-26 13:34:16 -05:00
display_ad_event_spec.rb Improve speed of model tests by around 50/60 seconds (#5016) 2019-12-09 16:33:48 -05:00
display_ad_spec.rb Sanitisation of Ads (#6361) [deploy] 2020-02-28 13:20:34 -05:00
event_spec.rb Move Events::BustCacheJob to Sidekiq and rename (#5379) 2020-01-06 15:51:46 -05:00
feedback_message_spec.rb Improve speed of model tests by around 50/60 seconds (#5016) 2019-12-09 16:33:48 -05:00
follow_spec.rb Add Follows::CreateChatChannelWorker for Sidekiq (#5458) 2020-01-20 08:23:44 -05:00
github_issue_spec.rb Bump octokit from 4.8.0 to 4.12.0 (#744) [ci skip] 2018-09-25 17:04:58 -04:00
github_repo_spec.rb Upgrade Rubocop related gems and fix new violations (#3581) [ci skip] 2019-07-30 14:29:05 -04:00
html_variant_spec.rb Improve speed of model tests by around 50/60 seconds (#5016) 2019-12-09 16:33:48 -05:00
html_variant_success_spec.rb Unskip all skipped specs (#2941) 2019-05-25 11:04:38 -04:00
html_variant_trial_spec.rb Unskip all skipped specs (#2941) 2019-05-25 11:04:38 -04:00
identity_spec.rb Improve speed of model tests by around 50/60 seconds (#5016) 2019-12-09 16:33:48 -05:00
job_opportunity_spec.rb Improve speed of model tests by around 50/60 seconds (#5016) 2019-12-09 16:33:48 -05:00
mention_spec.rb Add Mentions::CreateAllWorker for Sidekiq (#5463) 2020-01-13 13:23:30 -06:00
message_spec.rb Feature🚀: Ability to mention anyone in open chats and notify them (#5460) [deploy] 2020-01-23 18:06:35 -05:00
note_spec.rb Improve specs (#1693) 2019-02-04 15:56:00 -04:00
notification_spec.rb Handle Reactions Without Users When Sending Notifications (#5820) 2020-02-07 14:10:52 -05:00
notification_subscription_spec.rb Improve speed of model tests by around 50/60 seconds (#5016) 2019-12-09 16:33:48 -05:00
organization_membership_spec.rb Allow users to belong to multiple orgs (#2583) 2019-06-04 09:30:52 -04:00
organization_spec.rb [deploy] Raise not_found for spam-banished users (#5586) 2020-01-20 14:50:22 -05:00
page_spec.rb Refactor Podcasts Bust Cache job (#5421) 2020-01-28 12:40:32 -05:00
page_view_spec.rb Remove UserHistory Feature and PageViews from Algolia (#6127) [deploy] 2020-02-18 10:06:30 -05:00
podcast_episode_spec.rb Move Podcast Episode Bust Cache Job to Sidekiq (#5416) [deploy] 2020-01-10 10:08:59 -06:00
podcast_spec.rb Refactor Podcasts Bust Cache job (#5421) 2020-01-28 12:40:32 -05:00
poll_option_spec.rb Improve speed of model tests by around 50/60 seconds (#5016) 2019-12-09 16:33:48 -05:00
poll_skip_spec.rb Improve speed of model tests by around 50/60 seconds (#5016) 2019-12-09 16:33:48 -05:00
poll_spec.rb Improve speed of model tests by around 50/60 seconds (#5016) 2019-12-09 16:33:48 -05:00
poll_vote_spec.rb Upgrade Rubocop related gems and fix new violations (#3581) [ci skip] 2019-07-30 14:29:05 -04:00
pro_membership_spec.rb Fix pro_membership_spec's lint (#4193) [ci skip] 2019-10-02 13:04:43 -04:00
profile_pin_spec.rb [deploy] Finalize deleting user associations (#5624) 2020-01-23 11:29:47 -05:00
rating_vote_spec.rb Improve speed of model tests by around 50/60 seconds (#5016) 2019-12-09 16:33:48 -05:00
reaction_spec.rb Various optimizations (#6249) [deploy] 2020-02-25 13:42:24 -05:00
role_spec.rb Add mod channel automation to tags (#5731) [deploy] 2020-02-06 16:27:12 -05:00
sponsorship_spec.rb Fix Sponsorship validations to take expiration date into an account (#6276) 2020-02-25 16:41:28 -05:00
tag_adjustment_spec.rb ensure that article tag_list always has more than 3 tags by stubbing the method (#5263) 2019-12-27 10:04:21 -06:00
tag_spec.rb Refactor logic to index to Elasticsearch (#6286) [deploy] 2020-02-25 11:06:42 -08:00
tweet_spec.rb Bump Twitter to 7.0 and refactor TwitterBot (#6246) [deploy] 2020-02-24 08:34:41 -05:00
user_block_spec.rb Improve speed of model tests by around 50/60 seconds (#5016) 2019-12-09 16:33:48 -05:00
user_counter_spec.rb User counters using PostgreSQL JSON (#5373) [deploy] 2020-02-03 10:35:08 -05:00
user_spec.rb Mailchimp resubscribe (#6256) 2020-02-27 15:48:38 -05:00