diff options
| author | Stefan Majewsky <majewsky@gmx.net> | 2026-07-31 22:27:58 +0200 |
|---|---|---|
| committer | Stefan Majewsky <majewsky@gmx.net> | 2026-07-31 22:27:59 +0200 |
| commit | 5bff2a6c9e14763ca8764cf75adba0efbf990e50 (patch) | |
| tree | 466030af2d3da2210e806e083567ee35893adb1f /testing/pgruntime/migration_test.go | |
| parent | c953ebcc54296ac36fd199fa66fb0763f1790334 (diff) | |
| download | go-gg-5bff2a6c9e14763ca8764cf75adba0efbf990e50.tar.gz | |
pgruntime: in ConnectForTest, only truncate tables instead of recreating the database
DROP + CREATE DATABASE was measured at 100 ms per ConnectForTest(),
which is prohibitively slow in large test suites. This should be more
in the ballpark of 10 ms per test.
Diffstat (limited to 'testing/pgruntime/migration_test.go')
0 files changed, 0 insertions, 0 deletions
