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
This CI step takes 10+ minutes now. It's slow because all the tests run in-band (serial rather than in parallel) so that they don't clobber each other's postgres db.
The tests could be made to ran in parallel by having them use their own temporary postgres schema (a container/namespace within a database).
One approach is to create a jest setupFilesAfterEnv script that configures PG_SCHEMA:
process.env.PG_SCHEMA=crypto.randomUUID();
The text was updated successfully, but these errors were encountered:
This CI step takes 10+ minutes now. It's slow because all the tests run in-band (serial rather than in parallel) so that they don't clobber each other's postgres db.
The tests could be made to ran in parallel by having them use their own temporary postgres schema (a container/namespace within a database).
One approach is to create a jest
setupFilesAfterEnv
script that configuresPG_SCHEMA
:The text was updated successfully, but these errors were encountered: