Skip to content

Passed

org.appng.core.service.DatabaseServiceTest.testInitDatabase

Took 1.7 sec.

Standard Output

2022-06-21 16:11:55,946 INFO  [main] org.appng.core.domain.DatabaseConnection: Registered JDBC driver org.hsqldb.jdbc.JDBCDriver
2022-06-21 16:11:55,979 INFO  [main] org.appng.core.service.MigrationService: connected to jdbc:hsqldb:mem:testInitDatabase (HSQL Database Engine 2.5.0)
2022-06-21 16:11:55,989 INFO  [main] org.flywaydb.core.internal.license.VersionPrinter: Flyway Community Edition 8.4.3 by Redgate
2022-06-21 16:11:55,990 INFO  [main] org.flywaydb.core.internal.database.base.BaseDataba
...[truncated 6562 chars]...
to jdbc:postgresql://localhost:5432/appNG POSTGRESQL (org.springframework.jdbc.CannotGetJdbcConnectionException: Could not get JDBC Connection; nested exception is org.postgresql.util.PSQLException: Connection refused. Check that the hostname and port are correct and that the postmaster is accepting TCP/IP connections.)
2022-06-21 16:11:57,698 INFO  [main] org.appng.core.service.DatabaseService: POSTGRESQL jdbc:postgresql://localhost:5432/appNG POSTGRESQL is not working and will be deactivated.