[openjpa] branch master updated: OPENJPA-2753 add dbcp settings to Oracle Docker profile

classic Classic list List threaded Threaded
1 message Options
Reply | Threaded
Open this post in threaded view
|

[openjpa] branch master updated: OPENJPA-2753 add dbcp settings to Oracle Docker profile

struberg
This is an automated email from the ASF dual-hosted git repository.

struberg pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/openjpa.git


The following commit(s) were added to refs/heads/master by this push:
     new 08acaa4  OPENJPA-2753 add dbcp settings to Oracle Docker profile
08acaa4 is described below

commit 08acaa4f559d53afc413720ab65e429614bc5c52
Author: Mark Struberg <[hidden email]>
AuthorDate: Mon Jan 7 23:00:36 2019 +0100

    OPENJPA-2753 add dbcp settings to Oracle Docker profile
   
    This will fix the bug with the massive parallel test
---
 pom.xml | 11 ++++++-----
 1 file changed, 6 insertions(+), 5 deletions(-)

diff --git a/pom.xml b/pom.xml
index 6f29b68..9cc1559 100644
--- a/pom.xml
+++ b/pom.xml
@@ -1415,6 +1415,12 @@
                 <connection.username>${openjpa.oracle.username}</connection.username>
                 <connection.password>${openjpa.oracle.password}</connection.password>
                 <jdbc.DBDictionary />
+
+                <!-- DBCP overrides -->
+                <dbcp.maxIdle>20</dbcp.maxIdle>
+                <dbcp.minIdle>0</dbcp.minIdle>
+                <dbcp.maxTotal>20</dbcp.maxTotal>
+
             </properties>
             <dependencies>
                 <dependency>
@@ -1450,11 +1456,6 @@
                                 <image>
                                     <name>wnameless/oracle-xe-11g:${oracle.server.version}</name>
                                     <run>
-<!--
-                                        <env>
-                                            <ORACLE_DISABLE_ASYNCH_IO>true</ORACLE_DISABLE_ASYNCH_IO>
-                                        </env>
--->
                                         <volumes>
                                             <bind>
                                                 <volume>${project.basedir}/src/test/sql/oracle-docker:/docker-entrypoint-initdb.d/</volume>