When waiting for Postgres to start up, PostgreSQLContainer looks for the String ".*database system is ready to accept connections.*\\s".
The database though has already started when PostgreSQLContainer is ready for waiting and thus will never find the String.
This issues seems to appear only on Windows machines - on Linux it was not observable.
The new PostgreSQLContainer wait behaviour was introduced in #327.