cayenne-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Nikita Timofeev (JIRA)" <j...@apache.org>
Subject [jira] [Created] (CAY-2162) Integration Tests. Setting connection pool size in test with command line parameters
Date Thu, 08 Dec 2016 09:59:58 GMT
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)

Mime
View raw message