Closed
Description
Hi, we are using docker images with testcontainers. Each time new container is created, the db is initialized, migration scripts are applied and postgres server is restarted, adding around 25-50% startup time of whole container. This multiplied by hundred containers adds unnecessarily few hundred seconds. I've conducted some tests with pre-initialized database and the startup time significantly dropped, but that's really tricky to be done.
Any chance we could get a optimization setting for tests, to skip this server restart?
Metadata
Metadata
Assignees
Labels
No labels