Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

DatabaseVersion
DB210.5
DB211.1
POSTGRES10 .4latest
H2-


By default the unit tests will run with the H2 database. If you want to run the tests with a different database you have to create theĀ taskanaUnitTest.properties file in your home directory.

...

Code Block
titletaskanaUnitTest.properties
jdbcDriver=com.ibm.db2.jcc.DB2Driver
jdbcUrl=jdbc:db2://localhost:50101/tskdb
dbUserName=db2inst1
dbPassword=db2inst1-pwd
schemaName=TASKANA

POSTGRES 10

...

latest

Info

Please use the configuration in ci folder with the docker compose command. In this configuration the postgres database will be configured with german collation for ordering.


Code Block
languagebash
titlestart command
docker run -dcompose -p 50102:5432 --name taskana-postgres_10_4 -e POSTGRES_PASSWORD=postgres postgres:10.4f $scriptDir/docker-compose.yml up -d


Code Block
titletaskanaUnitTest.properties
jdbcDriver=org.postgresql.Driver
jdbcUrl=jdbc:postgresql://localhost:50102/postgres
dbUserName=postgres
dbPassword=postgres
schemaName=taskana

...