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
Clear AR connections in tests before forking for parallelization
Fixesrails#41176 which seems to affect the mysql2 adapter on MacOS.
The underlying mysql problem was diagnosed in this comment by
@jgloudon:
rails#41176 (comment)
It seems like on MacOS the mysql8 client library is using kqueue which
creates a file descriptor that is not carried into the child process,
allowing for the FD to be re-used.
Co-authored-by: Donal McBreen <[email protected]>
0 commit comments