[ 
https://issues.apache.org/jira/browse/CAY-2162?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15756928#comment-15756928
 ] 

ASF GitHub Bot commented on CAY-2162:
-------------------------------------

Github user asfgit closed the pull request at:

    https://github.com/apache/cayenne/pull/162


> 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)

Reply via email to