You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@openjpa.apache.org by GitBox <gi...@apache.org> on 2021/04/10 16:43:12 UTC

[GitHub] [openjpa] eolivelli commented on a change in pull request #79: HerdDB profile for integration tests

eolivelli commented on a change in pull request #79:
URL: https://github.com/apache/openjpa/pull/79#discussion_r611066345



##########
File path: pom.xml
##########
@@ -1102,6 +1102,58 @@
             </properties>
         </profile>
 
+        <!-- Profile for testing with HerdDB -->
+        <profile>
+            <id>test-herddb-docker</id>
+            <activation>
+                <property>
+                    <name>test-herddb-docker</name>
+                </property>
+            </activation>
+            <dependencies>
+                <dependency>
+                    <groupId>org.herddb</groupId>
+                    <artifactId>herddb-jdbc</artifactId>
+                    <version>0.22.0</version>
+                    <scope>test</scope>
+                </dependency>
+            </dependencies>
+            <properties>
+                <connection.driver.name>herddb.jdbc.Driver</connection.driver.name>

Review comment:
       the main problem is about adding more jars in the classpath.
   
   I am fine with using in-memory db as well, tests will be probably faster? 
   
   we should have both.
   
   I would start with docker in order to not need to spend time in debugging potential problems about re-initialization of the server
   
   
   




-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

For queries about this service, please contact Infrastructure at:
users@infra.apache.org