Open tonyalaribe opened 1 year ago
Making progress on this, it seems
getInitDbVersion
panics on this line:
theLastPart = last $ words outputString
versionPart = takeWhile (\x -> isDigit x || x == '.' || x == '-') theLastPart
humanReadable = if last versionPart == '.'
then init versionPart
else versionPart
initdb --version
is
initdb (PostgreSQL) 14.8 (Homebrew)
on my machine. So the last part is not the version. So last results in a crash.
Any chance we get more detailed errors?
I've been getting the following crash when I try to run a test with tmp-postgres.
The error doesn't give me any information about what I'm doing wrong, so I have no idea how to proceed other than trying different random things in my hspec withSetup implmentation.
A have a withSetup configured as follows: