[READ-ONLY] Mirror of https://github.com/mostlyobvious/En57. DCB-compatible event store library in Ruby with support for PostgreSQL.

Clone one test database per run, not per example master

- Provision the golden_en57 clone and connection pools once at suite load and drop the database in Minitest.after_run, instead of per example. - Reset state between examples with TRUNCATE ... RESTART IDENTITY; with no parallelism yet, per-example databases only added createdb/dropdb and pool-rebuild overhead. - Integration suite drops from ~3.3s to ~1s.


+33 -27
1 changed file