Open alinaliBQ opened 2 months ago
I found more information, the error is caused by stream
being undefined
at this.stream.write(serialize.requestSsl())
The tests aren’t currently written to be runnable with PG*
environment variables. You might have better luck with make test-all connectionString=postgres://localhost:5432/?sslmode=require
.
Ohh I see, thanks for letting me know @charmander
I realize this error seems to only be present with unit tests
When I set
PGSSLMODE
torequire
orprefer
, I getTypeError: this.stream.write is not a function
error when I try to run the tests underpackages/pg
. What could be the cause of this error? This error message is very cryptic. Have others seen this before?Error log: (replaced full project path with simplified path)
Commands to reproduce this error:
System: CentOS