This repository has been archived on 2023-03-18. You can view files and clone it, but cannot push or open issues or pull requests.
osr-discourse-src/plugins/chat/spec/system
Martin Brennan 819efb0434
Revert "DEV: enables threadsafe for system tests"
This reverts commit b8100ad1ae.

This was causing many issues in CI, including AR connections
not being expired because of threading issues, which was also
causing rails_helper to raise an error because we had busy
connections at the end of spec runs.

```
Cannot expire connection, it is owned by a different thread:
/__w/discourse/discourse/vendor/bundle/ruby/3.1.0/gems/puma-6.0.1/lib/puma/thread_pool.rb:106
sleep_forever>. Current thread: #<Thread:0x00007f541966fcc8 run>.
```

And:

```
Failure/Error: raise ActiveRecord::Base.connection_pool.stat.inspect

RuntimeError:
  {:size=>5, :connections=>2, :busy=>2, :dead=>0, :idle=>0, :waiting=>0, :checkout_timeout=>5.0}
```

See https://github.com/discourse/discourse/actions/runs/3825882529/jobs/6509204143
for examples.
2023-01-03 11:38:51 +10:00
..
list_channels FIX: correctly sorts public channels (#19555) 2022-12-21 17:01:20 +01:00
page_objects Revert "DEV: enables threadsafe for system tests" 2023-01-03 11:38:51 +10:00
shortcuts DEV: start glimmer-ification and optimisations of chat plugin (#19531) 2022-12-21 13:21:02 +01:00
user_menu_notifications PERF: Make chat mention notifications async. (#19666) 2023-01-02 11:54:52 -03:00
user_status DEV: start glimmer-ification and optimisations of chat plugin (#19531) 2022-12-21 13:21:02 +01:00
anonymous_spec.rb DEV: start glimmer-ification and optimisations of chat plugin (#19531) 2022-12-21 13:21:02 +01:00
archive_channel_spec.rb FIX: various fixes to channel archive status (#19649) 2022-12-29 11:45:40 +01:00
bookmark_message_spec.rb DEV: start glimmer-ification and optimisations of chat plugin (#19531) 2022-12-21 13:21:02 +01:00
browse_page_spec.rb FIX: correctly uses request_uri to generate load_more_url (#19680) 2023-01-03 00:19:13 +01:00
channel_about_page_spec.rb DEV: start glimmer-ification and optimisations of chat plugin (#19531) 2022-12-21 13:21:02 +01:00
channel_info_pages_spec.rb DEV: start glimmer-ification and optimisations of chat plugin (#19531) 2022-12-21 13:21:02 +01:00
channel_members_page_spec.rb FIX: increment wait to prevent a specific flakey spec (#19599) 2022-12-23 10:34:25 +10:00
channel_selector_modal_spec.rb DEV: Improve performance of system test sign_in helper (#19579) 2022-12-22 16:03:27 +00:00
channel_settings_page_spec.rb DEV: start glimmer-ification and optimisations of chat plugin (#19531) 2022-12-21 13:21:02 +01:00
chat_channel_spec.rb Revert "DEV: enables threadsafe for system tests" 2023-01-03 11:38:51 +10:00
chat_composer_spec.rb DEV: Add upload system specs for chat (#19604) 2022-12-23 08:41:10 +01:00
closed_channel_spec.rb DEV: start glimmer-ification and optimisations of chat plugin (#19531) 2022-12-21 13:21:02 +01:00
create_channel_spec.rb FIX: corrects a regression with last_read_message_id (#19553) 2022-12-21 19:49:32 +01:00
deleted_channel_spec.rb DEV: start glimmer-ification and optimisations of chat plugin (#19531) 2022-12-21 13:21:02 +01:00
edited_message_spec.rb FIX: re-enables using_session tests (#19564) 2022-12-22 14:40:36 +01:00
flag_message_spec.rb DEV: start glimmer-ification and optimisations of chat plugin (#19531) 2022-12-21 13:21:02 +01:00
hashtag_autocomplete_spec.rb DEV: Fix hashtag system spec flakys (#19574) 2022-12-23 09:23:29 +10:00
jit_messages_spec.rb Revert "DEV: enables threadsafe for system tests" 2023-01-03 11:38:51 +10:00
message_notifications_mobile_spec.rb FIX: re-enables using_session tests (#19564) 2022-12-22 14:40:36 +01:00
message_notifications_with_sidebar_spec.rb PERF: Make chat mention notifications async. (#19666) 2023-01-02 11:54:52 -03:00
move_message_to_channel_spec.rb DEV: start glimmer-ification and optimisations of chat plugin (#19531) 2022-12-21 13:21:02 +01:00
navigating_to_message_spec.rb FIX: correctly handles navigating to a message (#19614) 2022-12-23 19:48:14 +01:00
navigation_spec.rb FIX: correctly handles navigating to a message (#19614) 2022-12-23 19:48:14 +01:00
network_reconciliation_spec.rb FIX: ensures recovering network doesn't create unread mentions (#19597) 2022-12-23 07:38:45 +01:00
react_to_message_spec.rb DEV: start glimmer-ification and optimisations of chat plugin (#19531) 2022-12-21 13:21:02 +01:00
read_only_spec.rb DEV: start glimmer-ification and optimisations of chat plugin (#19531) 2022-12-21 13:21:02 +01:00
replying_indicator_spec.rb FIX: re-enables using_session tests (#19564) 2022-12-22 14:40:36 +01:00
sidebar_navigation_menu_spec.rb DEV: Improve performance of system test sign_in helper (#19579) 2022-12-22 16:03:27 +00:00
sidebars_spec.rb DEV: start glimmer-ification and optimisations of chat plugin (#19531) 2022-12-21 13:21:02 +01:00
silenced_user_spec.rb DEV: start glimmer-ification and optimisations of chat plugin (#19531) 2022-12-21 13:21:02 +01:00
transcript_spec.rb Revert "DEV: enables threadsafe for system tests" 2023-01-03 11:38:51 +10:00
unfollow_dm_channel_spec.rb DEV: Improve performance of system test sign_in helper (#19579) 2022-12-22 16:03:27 +00:00
uploads_spec.rb DEV: Add upload system specs for chat (#19604) 2022-12-23 08:41:10 +01:00
user_card_spec.rb DEV: start glimmer-ification and optimisations of chat plugin (#19531) 2022-12-21 13:21:02 +01:00
user_chat_preferences_spec.rb FIX: correctly allows admin to visit a user chat's preferences page (#19619) 2022-12-23 21:18:09 +01:00
visit_channel_spec.rb FIX: better chat-api error handling (#19550) 2022-12-21 16:11:35 +01:00