aboutsummaryrefslogtreecommitdiff
path: root/pgruntime/pgruntime.go
Commit message (Collapse)AuthorAgeFilesLines
* add testing/pgruntimeStefan Majewsky39 hours1-3/+1
| | | | | | | | Testing pgruntime has quickly turned out to be a nightmare, because so many parts of the test logic are not easily reproducible (e.g. `stopDBIfLingering`). I decided to not waste a bunch of time testing code that is relatively compact and easy to verify by careful examination, and that is unlikely to change a lot in the future.
* pgruntime: in ConnectForTest, only truncate tables instead of recreating the ↵Stefan Majewsky2 days1-1/+0
| | | | | | | | 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.
* add package pgruntimeStefan Majewsky3 days1-0/+32