Skip to content

Conversation

@apognu
Copy link
Contributor

@apognu apognu commented Mar 3, 2025

Right now, this uses my fork of embeddedpostgres with a patch allowing the use of UNIX sockets for the database, so not to have to worry about the availability of ports.

It simplifies setting up of the integration tests greatly. Also, running m.Run as os.Exit is no longer required, and lets us set up deferred shutdown properly.

This is a prorotype explortation, do not merge.

@apognu apognu added the WIP label Mar 3, 2025
@apognu apognu self-assigned this Mar 3, 2025
@apognu apognu force-pushed the refactor/embedded-postgres-for-tests branch 2 times, most recently from 114ffd8 to 540e9e6 Compare March 3, 2025 08:24
@apognu
Copy link
Contributor Author

apognu commented Mar 3, 2025

Sent a PR to upstream project to have the UNIX socket patch merged in: fergusstrange/embedded-postgres#152

Right now, this uses my fork of embeddedpostgres with a patch allowing the use of UNIX sockets for the database, so not to have to worry about the availability of ports.
@apognu apognu force-pushed the refactor/embedded-postgres-for-tests branch from 540e9e6 to 35d1b12 Compare March 3, 2025 16:12
@apognu
Copy link
Contributor Author

apognu commented Mar 18, 2025

I'll close this for now.

@apognu apognu closed this Mar 18, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants