yandex-qatools / postgresql-embedded

Embedded PostgreSQL Server
Other
493 stars 90 forks source link

PostgresProcess.stopInternal raises false alarm #67

Closed rolandrscheel closed 7 years ago

rolandrscheel commented 7 years ago
        if (!waitUntilProcessHasStopped(5000)) {
            logger.severe("Postgres has not been stopped within 10s! Something's wrong!");
        }

will always issue a severe log entry, when the process actually has been successfully terminated, as waitUntilProcessHasStopped returns false when the process has stopped.

smecsia commented 7 years ago

@rolandrscheel omg, thank you! What a mess...