DBZ-237 Using regular Postgres default port in tests

This commit is contained in:
Gunnar Morling 2017-05-04 12:31:55 +02:00
parent 480ba9f507
commit 80903b0622
2 changed files with 2 additions and 2 deletions

View File

@ -49,7 +49,7 @@ will start the default PostgreSQL container and run the database server. Now you
* `database.dbname` - the name of the database that your integration test will use; default is `postgres` * `database.dbname` - the name of the database that your integration test will use; default is `postgres`
* `database.hostname` - the IP address or name of the host where the Docker container is running; defaults to `localhost` which is likely for Linux, but on OS X and Windows Docker it will have to be set to the IP address of the VM that runs Docker (which you can find by looking at the `DOCKER_HOST` environment variable). * `database.hostname` - the IP address or name of the host where the Docker container is running; defaults to `localhost` which is likely for Linux, but on OS X and Windows Docker it will have to be set to the IP address of the VM that runs Docker (which you can find by looking at the `DOCKER_HOST` environment variable).
* `database.port` - the port on which PostgreSQL is listening; defaults to `4532` and is what this module's Docker container uses * `database.port` - the port on which PostgreSQL is listening; defaults to `5432` and is what this module's Docker container uses
* `database.user` - the name of the database user; defaults to `postgres` and is correct unless your database script uses something different * `database.user` - the name of the database user; defaults to `postgres` and is correct unless your database script uses something different
* `database.password` - the password of the database user; defaults to `postgres` and is correct unless your database script uses something different * `database.password` - the password of the database user; defaults to `postgres` and is correct unless your database script uses something different

View File

@ -17,7 +17,7 @@
work on all platforms. We'll set some of these as system properties during integration testing. work on all platforms. We'll set some of these as system properties during integration testing.
--> -->
<version.postgres.server>9.6</version.postgres.server> <version.postgres.server>9.6</version.postgres.server>
<postgres.port>4532</postgres.port> <postgres.port>5432</postgres.port>
<postgres.user>postgres</postgres.user> <postgres.user>postgres</postgres.user>
<postgres.password>postgres</postgres.password> <postgres.password>postgres</postgres.password>
<postgres.db.name>postgres</postgres.db.name> <postgres.db.name>postgres</postgres.db.name>