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
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
..
components FIX: Do not duplicate check when editing chat message to remove uploads (#19432) 2022-12-14 10:48:23 +10:00
fabricators DEV: Add upload system specs for chat (#19604) 2022-12-23 08:41:10 +01:00
integration FIX: Allow for nested chat transcripts (#19572) 2022-12-23 09:56:30 +10:00
jobs PERF: Make chat mention notifications async. (#19666) 2023-01-02 11:54:52 -03:00
lib DEV: permission type for private category fabricator (#19601) 2022-12-23 11:18:29 +08:00
mailers FIX: access to category chat only when user can create post (#19488) 2022-12-19 11:35:28 +11:00
models DEV: Change HashtagAutocompleteService to use DiscoursePluginRegistry (#19491) 2022-12-19 13:46:17 +10:00
queries DEV: start glimmer-ification and optimisations of chat plugin (#19531) 2022-12-21 13:21:02 +01:00
requests DEV: moves channel-archive-status to channels subscriptions (#19567) 2022-12-30 15:30:36 +01:00
serializer DEV: start glimmer-ification and optimisations of chat plugin (#19531) 2022-12-21 13:21:02 +01:00
services FEATURE: Deleting a user with their posts also deletes chat messages. (#19194) 2022-11-28 13:32:57 -03:00
support DEV: start glimmer-ification and optimisations of chat plugin (#19531) 2022-12-21 13:21:02 +01:00
system Revert "DEV: enables threadsafe for system tests" 2023-01-03 11:38:51 +10:00
validators DEV: Move discourse-chat to the core repo. (#18776) 2022-11-02 10:41:30 -03:00
plugin_helper.rb DEV: start glimmer-ification and optimisations of chat plugin (#19531) 2022-12-21 13:21:02 +01:00
plugin_spec.rb DEV: start glimmer-ification and optimisations of chat plugin (#19531) 2022-12-21 13:21:02 +01:00