[FOLIO-518] Postgres database in cql2pgjson-java-pull-request Jenkins CI Created: 23/Mar/17 Updated: 12/Nov/18 Resolved: 23/Mar/17 |
|
| Status: | Closed |
| Project: | FOLIO |
| Components: | None |
| Affects versions: | None |
| Fix versions: | None |
| Type: | Bug | Priority: | P3 |
| Reporter: | Julian Ladisch | Assignee: | John Malconian |
| Resolution: | Done | Votes: | 0 |
| Labels: | None | ||
| Remaining Estimate: | Not Specified | ||
| Time Spent: | 20 minutes | ||
| Original estimate: | Not Specified | ||
| Issue links: |
|
||||||||
| Sprint: | |||||||||
| Description |
|
What is the name of the database in cql2pgjson-java-pull-request? https://jenkins-aws.indexdata.com/job/cql2pgjson-java-pull-request/12/console jdbc:postgresql://127.0.0.1:5433/test?currentSchema=public&user=postgres&password=postgres FATAL: database "test" does not exist |
| Comments |
| Comment by John Malconian [ 23/Mar/17 ] |
|
There is no pre-existing database. It is meant to be created during job execution. I will add a database called 'cql2pgjson' as a pre-build job step prior to the build. |
| Comment by John Malconian [ 23/Mar/17 ] |
|
Looks like the current cql2pgjson unit tests use an embedded postgres instance, but I added a step which creates the db, 'cql2pgjson', the external postgres database anyway in case it's your intention to switch over to that. (same connection/credentials as you described in the issue Description) |