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
MySQL - doesn't seem supported without a dump + load.
SQL server - ditto.
Oracle - similar.
Docker based solutions - a similar effect could probably be achieved with a snapshot + starting many containers; but by this point you might not choose to use parallel_tests.
The text was updated successfully, but these errors were encountered:
if you can somehow make this work as an additional task and not too much hackery. then PR welcome ... just don't want this to be the default behavior since I expect lots of bugs (at least initially) and it's not what simple users would expect or need
Currently; the default assumption is to create, migrate, seed, etc N databases; and this is generally pretty sensible.
For CI pipelines with a large number of migrations or complex seeding however would benefit from:
Right now there are some strategies for dumping + loading schema; but less so with fully seeded data.
https://github.com/grosser/parallel_tests/blob/master/lib/parallel_tests/tasks.rb#L121
Postgres offers support for
CREATE DATABASE x WITH TEMPLATE y
; and it seems supported in activerecord - see https://dockyard.com/blog/2014/03/03/using-database-templatesSQLIte databases could in theory support this with a copy on the filesystem or inbuilt commands:
https://database.guide/clone-sqlite-database/
MySQL - doesn't seem supported without a dump + load.
SQL server - ditto.
Oracle - similar.
Docker based solutions - a similar effect could probably be achieved with a snapshot + starting many containers; but by this point you might not choose to use parallel_tests.
The text was updated successfully, but these errors were encountered: