-
-
Notifications
You must be signed in to change notification settings - Fork 347
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
switch from postgresql-embedded to otj-pg-embedded #630
Comments
I'm curious why https://github.com/opentable/otj-pg-embedded instead of https://www.testcontainers.org/modules/databases/postgres/ ? FYI I've used testcontainers.org for other things (to launch Selenium in https://github.com/vorburger/minecraft-storeys-maker as well as to launch etcd in jetcd), and it's great. https://github.com/yandex-qatools/postgresql-embedded says: "Please be adviced that the main maintainer of this project has successfuly migrated to the use of Test Containers project. This is the best possible alternative nowadays." (but FYI yandex-qatools/postgresql-embedded#163) |
@vorburger because test-containers requires docker. As far as I know, it still require sudo which is something I don't consider good (and the fact that it has a demon). When they will switch to Please correct me if I'm wrong, maybe in the meantime it has changed :) quoting the manual from docker (https://docs.docker.com/install/linux/docker-ce/fedora/) :
So yeah, no thanks for me :P |
perhaps you would like to open an issue proposing this to test-containers? 😸 PS: I'm guessing you know about it already, but just in case, you probably like |
@vorburger ah, good idea about edit: looking at the code from test-containers, it seems to be really docker centric: it really expect the docker daemon :D. |
yeah, so |
Testcontainers dev here :)
Yes, the library is Docker focused, but we do understand that for testing, root maybe too much, and are happy to see the rootless mode progressing in the upstream Docker. Podman is a nice idea, but, for this use case, you would still need daemon, especially on Mac/Windows. Otherwise, the libraries will be implementing their own daemons, so it isn't that much better. |
as https://github.com/yandex-qatools/postgresql-embedded is marked as no more maintained.
new library is: https://github.com/opentable/otj-pg-embedded
The text was updated successfully, but these errors were encountered: