Closed theS1LV3R closed 1 month ago
yep sounds like a legitimate issue, seems like the same fix for the #695 would do the trick
I've built the wheel from the main branch, and it works as expected.
Can confirm the latest version (4.8.2) fixed my issue, thanks a lot!
Describe the bug Whenever PostgresContainer is ran using
tensorchord/pgvecto-rs:pg16-v0.3.0
, it waits forever for postgres to be ready. This happens because pgvecto.rs added-c logging_collector=on
to their Dockerfile CMD. This puts all logs after "PostgreSQL init process complete; ready for start up." to a separate file instead of to stdout, which is what PostgresContainer is expecting: https://github.com/testcontainers/testcontainers-python/blob/8f1165dd79ee0dcf16f37f2d186cbc3d47bc11bc/modules/postgres/testcontainers/postgres/__init__.py#L117-L124To Reproduce
https://github.com/theS1LV3R/testcontainers-pgvecto-rs-test
Runtime environment