gora-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From lewi...@apache.org
Subject [26/50] [abbrv] git commit: GoraMongoDBTestDriver: use Version.Main.PRODUCTION instead of hardcoded 2.6
Date Wed, 04 Jun 2014 16:36:43 GMT
GoraMongoDBTestDriver: use Version.Main.PRODUCTION instead of hardcoded 2.6


Project: http://git-wip-us.apache.org/repos/asf/gora/repo
Commit: http://git-wip-us.apache.org/repos/asf/gora/commit/ed73e57c
Tree: http://git-wip-us.apache.org/repos/asf/gora/tree/ed73e57c
Diff: http://git-wip-us.apache.org/repos/asf/gora/diff/ed73e57c

Branch: refs/heads/master
Commit: ed73e57c1c30243d872fd03a1def2410052ab015
Parents: 77ccfec
Author: Damien Raude-Morvan <damien@dictanova.com>
Authored: Sun May 18 00:11:33 2014 +0200
Committer: Damien Raude-Morvan <damien@dictanova.com>
Committed: Sun May 18 00:11:33 2014 +0200

----------------------------------------------------------------------
 .../java/org/apache/gora/mongodb/GoraMongodbTestDriver.java     | 5 +++--
 1 file changed, 3 insertions(+), 2 deletions(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/gora/blob/ed73e57c/gora-mongodb/src/test/java/org/apache/gora/mongodb/GoraMongodbTestDriver.java
----------------------------------------------------------------------
diff --git a/gora-mongodb/src/test/java/org/apache/gora/mongodb/GoraMongodbTestDriver.java
b/gora-mongodb/src/test/java/org/apache/gora/mongodb/GoraMongodbTestDriver.java
index 406284b..709fdcc 100644
--- a/gora-mongodb/src/test/java/org/apache/gora/mongodb/GoraMongodbTestDriver.java
+++ b/gora-mongodb/src/test/java/org/apache/gora/mongodb/GoraMongodbTestDriver.java
@@ -66,8 +66,9 @@ public class GoraMongodbTestDriver extends GoraTestDriver {
 
     int port = Network.getFreeServerPort();
     IMongodConfig mongodConfig = new MongodConfigBuilder()
-        .version(Version.Main.V2_6)
-        .net(new Net(port, Network.localhostIsIPv6())).build();
+        .version(Version.Main.PRODUCTION)
+        .net(new Net(port, Network.localhostIsIPv6()))
+        .build();
 
     // Store Mongo server "host:port" in Hadoop configuration
     // so that MongoStore will be able to get it latter


Mime
View raw message