Repository: camel
Updated Branches:
  refs/heads/master 8382a60b5 -> 25d528b9e


Removed invalid test (MongoDB doesn't support multi-saves).


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

Branch: refs/heads/master
Commit: 25d528b9eb6f9002f65254a88719a1006265d7a0
Parents: 8382a60
Author: Henryk Konsek <hekon...@gmail.com>
Authored: Mon Nov 10 21:00:15 2014 +0100
Committer: Henryk Konsek <hekon...@gmail.com>
Committed: Mon Nov 10 21:00:15 2014 +0100

----------------------------------------------------------------------
 .../camel/component/mongodb/MongoDbOperationsTest.java   | 11 -----------
 1 file changed, 11 deletions(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/camel/blob/25d528b9/components/camel-mongodb/src/test/java/org/apache/camel/component/mongodb/MongoDbOperationsTest.java
----------------------------------------------------------------------
diff --git 
a/components/camel-mongodb/src/test/java/org/apache/camel/component/mongodb/MongoDbOperationsTest.java
 
b/components/camel-mongodb/src/test/java/org/apache/camel/component/mongodb/MongoDbOperationsTest.java
index 24d4442..c0e6001 100644
--- 
a/components/camel-mongodb/src/test/java/org/apache/camel/component/mongodb/MongoDbOperationsTest.java
+++ 
b/components/camel-mongodb/src/test/java/org/apache/camel/component/mongodb/MongoDbOperationsTest.java
@@ -28,7 +28,6 @@ import com.mongodb.util.JSON;
 
 import org.apache.camel.builder.RouteBuilder;
 import org.bson.types.ObjectId;
-import org.junit.Ignore;
 import org.junit.Test;
 
 public class MongoDbOperationsTest extends AbstractMongoDbTest {
@@ -109,16 +108,6 @@ public class MongoDbOperationsTest extends 
AbstractMongoDbTest {
         ObjectId oid = template.requestBody("direct:testStoreOidOnSave", 
dbObject, ObjectId.class);
         assertEquals(dbObject.get("_id"), oid);
     }
-
-    @Ignore
-    @Test
-    public void testStoreOidsOnSave() throws Exception {
-        DBObject firstDbObject = new BasicDBObject();
-        DBObject secondDbObject = new BasicDBObject();
-        List<?> oids = template.requestBody("direct:testStoreOidOnSave", 
asList(firstDbObject, secondDbObject), List.class);
-        assertTrue(oids.contains(firstDbObject.get("_id")));
-        assertTrue(oids.contains(secondDbObject.get("_id")));
-    }
     
     @Test
     public void testUpdate() throws Exception {

Reply via email to