Open jchayan opened 4 years ago
While digging, I found this related problem: https://github.com/rails/rails/issues/31200. It appears that RSpec runs only on a single thread
I thought our issue was also probably related to threads, since Puma is configured to allow for concurrency for ActionController::Live to work.
This specific comment provides a solution:
https://github.com/rails/rails/issues/31200#issuecomment-462218514
I tried it but it doesn't seem to work. So it's probably not related.
We need more debugging efforts
Background
RSpec freezes since ActionController::Live was composed into the OvensController
Replication Steps
rspec spec
Result
These are the last lines printed to stdout:
Here's what I get from the thread's stack-trace:
Seems related to: https://api.rubyonrails.org/classes/ActionController/Live.html