You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Just posting this incase someone else has this - I current gem doesn't appear to be threadsafe, when running the new rails system tests (with rspec) I'd consistently get failures when running the full test suite. Investigating with pry I'd find that the Settings object was showing the incorrect settings for the current environment - it's like it hadn't merged the current envs settings.
I created my own simplified version of RailsConfig using class instance variables which had the same issue, but storing the settings in Thread.current fixed the issue for me.
The text was updated successfully, but these errors were encountered:
Just posting this incase someone else has this - I current gem doesn't appear to be threadsafe, when running the new rails system tests (with rspec) I'd consistently get failures when running the full test suite. Investigating with pry I'd find that the Settings object was showing the incorrect settings for the current environment - it's like it hadn't merged the current envs settings.
I created my own simplified version of RailsConfig using class instance variables which had the same issue, but storing the settings in Thread.current fixed the issue for me.
The text was updated successfully, but these errors were encountered: