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/18 21:37:06 UTC

[gora] branch GORA-646-improve-gora-mongodb-tests created (now e8ffb47)

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

drazzib pushed a change to branch GORA-646-improve-gora-mongodb-tests
in repository https://gitbox.apache.org/repos/asf/gora.git.


      at e8ffb47  GORE-646 Add new integration tests for MongoDB 3.6 and 4.0

This branch includes the following new commits:

     new 61a2699  GORE-646 Upgrade de.flapdoodle.embed.mongo to 2.2.0
     new e8ffb47  GORE-646 Add new integration tests for MongoDB 3.6 and 4.0

The 2 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] 02/02: GORE-646 Add new integration tests for MongoDB 3.6 and 4.0

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

drazzib pushed a commit to branch GORA-646-improve-gora-mongodb-tests
in repository https://gitbox.apache.org/repos/asf/gora.git

commit e8ffb47d76a150919bc24e0f188c06042cb960ae
Author: Damien Raude-Morvan <dr...@drazzib.com>
AuthorDate: Wed Mar 18 22:35:32 2020 +0100

    GORE-646 Add new integration tests for MongoDB 3.6 and 4.0
---
 .../gora/mongodb/store/TestMongoStore36.java       | 31 ++++++++++++++++++++++
 .../gora/mongodb/store/TestMongoStore40.java       | 31 ++++++++++++++++++++++
 2 files changed, 62 insertions(+)

diff --git a/gora-mongodb/src/test/java/org/apache/gora/mongodb/store/TestMongoStore36.java b/gora-mongodb/src/test/java/org/apache/gora/mongodb/store/TestMongoStore36.java
new file mode 100644
index 0000000..7b5d0aa
--- /dev/null
+++ b/gora-mongodb/src/test/java/org/apache/gora/mongodb/store/TestMongoStore36.java
@@ -0,0 +1,31 @@
+/**
+ * Licensed to the Apache Software Foundation (ASF) under one
+ * or more contributor license agreements.  See the NOTICE file
+ * distributed with this work for additional information
+ * regarding copyright ownership.  The ASF licenses this file
+ * to you under the Apache License, Version 2.0 (the
+ * "License"); you may not use this file except in compliance
+ * with the License.  You may obtain a copy of the License at
+ *
+ *     http://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing, software
+ * distributed under the License is distributed on an "AS IS" BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ * See the License for the specific language governing permissions and
+ * limitations under the License.
+ */
+package org.apache.gora.mongodb.store;
+
+import de.flapdoodle.embed.mongo.distribution.Version;
+import org.apache.gora.mongodb.GoraMongodbTestDriver;
+
+/**
+ * Perform {@link TestMongoStore} tests on MongoDB 3.6.x server.
+ */
+public class TestMongoStore36 extends TestMongoStore {
+
+  static {
+    setTestDriver(new GoraMongodbTestDriver(Version.Main.V3_6));
+  }
+}
diff --git a/gora-mongodb/src/test/java/org/apache/gora/mongodb/store/TestMongoStore40.java b/gora-mongodb/src/test/java/org/apache/gora/mongodb/store/TestMongoStore40.java
new file mode 100644
index 0000000..6cc9163
--- /dev/null
+++ b/gora-mongodb/src/test/java/org/apache/gora/mongodb/store/TestMongoStore40.java
@@ -0,0 +1,31 @@
+/**
+ * Licensed to the Apache Software Foundation (ASF) under one
+ * or more contributor license agreements.  See the NOTICE file
+ * distributed with this work for additional information
+ * regarding copyright ownership.  The ASF licenses this file
+ * to you under the Apache License, Version 2.0 (the
+ * "License"); you may not use this file except in compliance
+ * with the License.  You may obtain a copy of the License at
+ *
+ *     http://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing, software
+ * distributed under the License is distributed on an "AS IS" BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ * See the License for the specific language governing permissions and
+ * limitations under the License.
+ */
+package org.apache.gora.mongodb.store;
+
+import de.flapdoodle.embed.mongo.distribution.Version;
+import org.apache.gora.mongodb.GoraMongodbTestDriver;
+
+/**
+ * Perform {@link TestMongoStore} tests on MongoDB 4.0.x server.
+ */
+public class TestMongoStore40 extends TestMongoStore {
+
+  static {
+    setTestDriver(new GoraMongodbTestDriver(Version.Main.V4_0));
+  }
+}


[gora] 01/02: GORE-646 Upgrade de.flapdoodle.embed.mongo to 2.2.0

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

drazzib pushed a commit to branch GORA-646-improve-gora-mongodb-tests
in repository https://gitbox.apache.org/repos/asf/gora.git

commit 61a2699c8c567713e9dcf5051be1f4850a436e99
Author: Damien Raude-Morvan <dr...@drazzib.com>
AuthorDate: Wed Mar 18 22:34:45 2020 +0100

    GORE-646 Upgrade de.flapdoodle.embed.mongo to 2.2.0
---
 gora-mongodb/pom.xml | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/gora-mongodb/pom.xml b/gora-mongodb/pom.xml
index c68b13e..e3c9566 100644
--- a/gora-mongodb/pom.xml
+++ b/gora-mongodb/pom.xml
@@ -52,7 +52,7 @@
   <properties>
     <osgi.import>*</osgi.import>
     <osgi.export>org.apache.gora.mongodb*;version="${project.version}";-noimport:=true</osgi.export>
-    <mongo.embed.version>2.0.0</mongo.embed.version>
+    <mongo.embed.version>2.2.0</mongo.embed.version>
   </properties>
 
   <build>