You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@cayenne.apache.org by "Nikita Timofeev (JIRA)" <ji...@apache.org> on 2016/12/08 09:59:58 UTC

[jira] [Created] (CAY-2162) Integration Tests. Setting connection pool size in test with command line parameters

Nikita Timofeev created CAY-2162:
------------------------------------

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