Re:My $500M Mars rover mistake
by norman784 on Wednesday November 29, 2023 @02:50AM
(#38456685)
Our test suite expects that the database name has a `_test` suffix, so you can't run the tests even locally without the suffix.
[ Parent
| on HN ]
Our test harness takes an optional template as input and immediately copies it.
It’s useful to distribute the test anyway, especially for non-transactional tests.
If the database initialisation is costly that’s useful even if tests run on empty, as copying a database from a template is much faster than creating one DDL by DDL, for postgres at least.
(distribute as in parallelise, possibly across multiple machines)