cayenne-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Andrus Adamchik (JIRA)" <j...@apache.org>
Subject [jira] [Closed] (CAY-2162) Integration Tests. Setting connection pool size in test with command line parameters
Date Sat, 17 Dec 2016 12:27:58 GMT

     [ https://issues.apache.org/jira/browse/CAY-2162?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]

Andrus Adamchik closed CAY-2162.
--------------------------------
    Resolution: Fixed

PR applied. I guess no need to place this in RELEASE-NOTES. That's our internal test API.

> Integration Tests. Setting connection pool size in test with command line parameters
> ------------------------------------------------------------------------------------
>
>                 Key: CAY-2162
>                 URL: https://issues.apache.org/jira/browse/CAY-2162
>             Project: Cayenne
>          Issue Type: Task
>            Reporter: Nikita Timofeev
>            Priority: Minor
>
> Currently there is two options for setting connection properties for integration tests
[1]:
>  1. via command line parameters
>  2. via connection.properties in ~/.cayenne directory
> When connection.properties is used connection pool size by default has max size 2. 
> In case properties set directly in command line max size remains 1 and there is no way
to set max pool size.
> That behavior leads to some test failure where passing connection parameters via command
line (e.g. travis build fails with mysql-docker and postgres-docker test profiles)
> [1] http://cayenne.apache.org/dev/running-unit-tests.html#running-against-a-specific-database



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

Mime
View raw message