You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@gora.apache.org by dr...@apache.org on 2020/03/30 15:18:16 UTC

[gora] branch GORA-652-enable-tests-by-default created (now 47db331)

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

drazzib pushed a change to branch GORA-652-enable-tests-by-default
in repository https://gitbox.apache.org/repos/asf/gora.git.


      at 47db331  GORA-652 CouchDB: Configure exposed port and server ip

This branch includes the following new commits:

     new 5ee2a6b  GORA-652 Remove `aerospike-with-test` profile and enable tests by default
     new e2e705f  GORA-652 Remove `couchdb-with-test` profile and enable tests by default
     new bb06d84  GORA-652 Remove `redis-with-test` profile and enable tests by default
     new 0bce176  GORA-652 CouchDB: Use standard chouchdb container
     new 47db331  GORA-652 CouchDB: Configure exposed port and server ip

The 5 revisions listed above as "new" are entirely new to this
repository and will be described in separate emails.  The revisions
listed as "add" were already present in the repository and have only
been added to this reference.



[gora] 04/05: GORA-652 CouchDB: Use standard chouchdb container

Posted by dr...@apache.org.
This is an automated email from the ASF dual-hosted git repository.

drazzib pushed a commit to branch GORA-652-enable-tests-by-default
in repository https://gitbox.apache.org/repos/asf/gora.git

commit 0bce17613ab8d96480caaba3f2fb00e2bfa43627
Author: Damien Raude-Morvan <dr...@drazzib.com>
AuthorDate: Mon Mar 30 17:17:26 2020 +0200

    GORA-652 CouchDB: Use standard chouchdb container
---
 .../src/test/java/org/apache/gora/couchdb/store/TestCouchDBStore.java   | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/gora-couchdb/src/test/java/org/apache/gora/couchdb/store/TestCouchDBStore.java b/gora-couchdb/src/test/java/org/apache/gora/couchdb/store/TestCouchDBStore.java
index ffcd0dd..0045ecd 100644
--- a/gora-couchdb/src/test/java/org/apache/gora/couchdb/store/TestCouchDBStore.java
+++ b/gora-couchdb/src/test/java/org/apache/gora/couchdb/store/TestCouchDBStore.java
@@ -43,7 +43,7 @@ import static org.junit.Assert.*;
  */
 public class TestCouchDBStore extends DataStoreTestBase {
 
-  private static final String DOCKER_CONTAINER_NAME = "klaemo/couchdb:1.6.1";
+  private static final String DOCKER_CONTAINER_NAME = "couchdb:1.6";
   /**
    * JUnit integration testing with Docker and Testcontainers
    */


[gora] 02/05: GORA-652 Remove `couchdb-with-test` profile and enable tests by default

Posted by dr...@apache.org.
This is an automated email from the ASF dual-hosted git repository.

drazzib pushed a commit to branch GORA-652-enable-tests-by-default
in repository https://gitbox.apache.org/repos/asf/gora.git

commit e2e705f09a6c102d95bb894dd24a914ccab19f1a
Author: Damien Raude-Morvan <dr...@drazzib.com>
AuthorDate: Mon Mar 30 17:16:27 2020 +0200

    GORA-652 Remove `couchdb-with-test` profile and enable tests by default
---
 gora-couchdb/pom.xml | 26 --------------------------
 1 file changed, 26 deletions(-)

diff --git a/gora-couchdb/pom.xml b/gora-couchdb/pom.xml
index df464b7..1cd4ed9 100644
--- a/gora-couchdb/pom.xml
+++ b/gora-couchdb/pom.xml
@@ -54,24 +54,6 @@
     <osgi.export>org.apache.gora.couchdb*;version="${project.version}";-noimport:=true</osgi.export>
   </properties>
 
-  <profiles>
-    <profile>
-      <id>couchdb-with-test</id>
-      <build>
-        <plugins>
-          <plugin>
-            <groupId>org.apache.maven.plugins</groupId>
-            <artifactId>maven-surefire-plugin</artifactId>
-            <version>2.4.2</version>
-            <configuration>
-              <skipTests>false</skipTests>
-            </configuration>
-          </plugin>
-        </plugins>
-      </build>
-    </profile>
-  </profiles>
-
   <build>
     <directory>target</directory>
     <outputDirectory>target/classes</outputDirectory>
@@ -89,14 +71,6 @@
     </testResources>
     <plugins>
       <plugin>
-        <groupId>org.apache.maven.plugins</groupId>
-        <artifactId>maven-surefire-plugin</artifactId>
-        <version>2.4.2</version>
-        <configuration>
-          <skipTests>true</skipTests>
-        </configuration>
-      </plugin>
-      <plugin>
         <groupId>org.codehaus.mojo</groupId>
         <artifactId>build-helper-maven-plugin</artifactId>
         <version>${build-helper-maven-plugin.version}</version>


[gora] 01/05: GORA-652 Remove `aerospike-with-test` profile and enable tests by default

Posted by dr...@apache.org.
This is an automated email from the ASF dual-hosted git repository.

drazzib pushed a commit to branch GORA-652-enable-tests-by-default
in repository https://gitbox.apache.org/repos/asf/gora.git

commit 5ee2a6b64597c7ceb93b783bc311e04bd38b5258
Author: Damien Raude-Morvan <dr...@drazzib.com>
AuthorDate: Mon Mar 30 17:16:17 2020 +0200

    GORA-652 Remove `aerospike-with-test` profile and enable tests by default
---
 gora-aerospike/pom.xml | 26 --------------------------
 1 file changed, 26 deletions(-)

diff --git a/gora-aerospike/pom.xml b/gora-aerospike/pom.xml
index e2a734e..cf61899 100644
--- a/gora-aerospike/pom.xml
+++ b/gora-aerospike/pom.xml
@@ -54,24 +54,6 @@
     <osgi.export>org.apache.gora.aerospike*;version="${project.version}";-noimport:=true</osgi.export>
   </properties>
 
-  <profiles>
-    <profile>
-      <id>aerospike-with-test</id>
-      <build>
-        <plugins>
-          <plugin>
-            <groupId>org.apache.maven.plugins</groupId>
-            <artifactId>maven-surefire-plugin</artifactId>
-            <version>2.4.2</version>
-            <configuration>
-              <skipTests>false</skipTests>
-            </configuration>
-          </plugin>
-        </plugins>
-      </build>
-    </profile>
-  </profiles>
-
   <build>
     <directory>target</directory>
     <outputDirectory>target/classes</outputDirectory>
@@ -89,14 +71,6 @@
     </testResources>
     <plugins>
       <plugin>
-        <groupId>org.apache.maven.plugins</groupId>
-        <artifactId>maven-surefire-plugin</artifactId>
-        <version>2.4.2</version>
-        <configuration>
-          <skipTests>true</skipTests>
-        </configuration>
-      </plugin>
-      <plugin>
         <groupId>org.codehaus.mojo</groupId>
         <artifactId>build-helper-maven-plugin</artifactId>
         <version>${build-helper-maven-plugin.version}</version>


[gora] 05/05: GORA-652 CouchDB: Configure exposed port and server ip

Posted by dr...@apache.org.
This is an automated email from the ASF dual-hosted git repository.

drazzib pushed a commit to branch GORA-652-enable-tests-by-default
in repository https://gitbox.apache.org/repos/asf/gora.git

commit 47db331d3bfed2d3705e76c9b63c46a3004b93e1
Author: Damien Raude-Morvan <dr...@drazzib.com>
AuthorDate: Mon Mar 30 17:17:58 2020 +0200

    GORA-652 CouchDB: Configure exposed port and server ip
---
 .../src/test/java/org/apache/gora/couchdb/GoraCouchDBTestDriver.java   | 1 +
 .../src/test/java/org/apache/gora/couchdb/store/TestCouchDBStore.java  | 3 ++-
 2 files changed, 3 insertions(+), 1 deletion(-)

diff --git a/gora-couchdb/src/test/java/org/apache/gora/couchdb/GoraCouchDBTestDriver.java b/gora-couchdb/src/test/java/org/apache/gora/couchdb/GoraCouchDBTestDriver.java
index 7996708..9b9b20a 100644
--- a/gora-couchdb/src/test/java/org/apache/gora/couchdb/GoraCouchDBTestDriver.java
+++ b/gora-couchdb/src/test/java/org/apache/gora/couchdb/GoraCouchDBTestDriver.java
@@ -53,6 +53,7 @@ public class GoraCouchDBTestDriver extends GoraTestDriver {
   @Override
   public void setUpClass() {
     log.info("Setting up CouchDB Test Driver");
+    properties.put(CouchDBParameters.PROP_COUCHDB_SERVER, couchdbContainer.getContainerIpAddress());
     properties.put(CouchDBParameters.PROP_COUCHDB_PORT, couchdbContainer.getMappedPort(5984).toString());
   }
 
diff --git a/gora-couchdb/src/test/java/org/apache/gora/couchdb/store/TestCouchDBStore.java b/gora-couchdb/src/test/java/org/apache/gora/couchdb/store/TestCouchDBStore.java
index 0045ecd..346fdfe 100644
--- a/gora-couchdb/src/test/java/org/apache/gora/couchdb/store/TestCouchDBStore.java
+++ b/gora-couchdb/src/test/java/org/apache/gora/couchdb/store/TestCouchDBStore.java
@@ -48,7 +48,8 @@ public class TestCouchDBStore extends DataStoreTestBase {
    * JUnit integration testing with Docker and Testcontainers
    */
   @ClassRule
-  public static GenericContainer CouchDB_CONTAINER = new GenericContainer(DOCKER_CONTAINER_NAME);
+  public static GenericContainer CouchDB_CONTAINER = new GenericContainer(DOCKER_CONTAINER_NAME)
+          .withExposedPorts(5984);
 
   static {
     try {


[gora] 03/05: GORA-652 Remove `redis-with-test` profile and enable tests by default

Posted by dr...@apache.org.
This is an automated email from the ASF dual-hosted git repository.

drazzib pushed a commit to branch GORA-652-enable-tests-by-default
in repository https://gitbox.apache.org/repos/asf/gora.git

commit bb06d842fa2e625f4e3962b385d4016225d01a69
Author: Damien Raude-Morvan <dr...@drazzib.com>
AuthorDate: Mon Mar 30 17:16:35 2020 +0200

    GORA-652 Remove `redis-with-test` profile and enable tests by default
---
 gora-redis/pom.xml | 26 --------------------------
 1 file changed, 26 deletions(-)

diff --git a/gora-redis/pom.xml b/gora-redis/pom.xml
index ee33cb1..1057afd 100755
--- a/gora-redis/pom.xml
+++ b/gora-redis/pom.xml
@@ -54,24 +54,6 @@
     <osgi.export>org.apache.gora.redis*;version="${project.version}";-noimport:=true</osgi.export>
   </properties>
   
-  <profiles>
-    <profile>
-      <id>redis-with-test</id>
-      <build>
-        <plugins>
-          <plugin>
-            <groupId>org.apache.maven.plugins</groupId>
-            <artifactId>maven-surefire-plugin</artifactId>
-            <version>2.4.2</version>
-            <configuration>
-              <skipTests>false</skipTests>
-            </configuration>
-          </plugin>
-        </plugins>
-      </build>
-    </profile>
-  </profiles>
-  
   <build>
     <directory>target</directory>
     <outputDirectory>target/classes</outputDirectory>
@@ -90,14 +72,6 @@
     </testResources>
     <plugins>
       <plugin>
-        <groupId>org.apache.maven.plugins</groupId>
-        <artifactId>maven-surefire-plugin</artifactId>
-        <version>2.4.2</version>
-        <configuration>
-          <skipTests>true</skipTests>
-        </configuration>
-      </plugin>
-      <plugin>
         <groupId>org.codehaus.mojo</groupId>
         <artifactId>build-helper-maven-plugin</artifactId>
         <version>${build-helper-maven-plugin.version}</version>