From commits-return-61687-archive-asf-public=cust-asf.ponee.io@camel.apache.org Mon Mar 5 08:20:30 2018 Return-Path: X-Original-To: archive-asf-public@cust-asf.ponee.io Delivered-To: archive-asf-public@cust-asf.ponee.io Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by mx-eu-01.ponee.io (Postfix) with SMTP id 78368180771 for ; Mon, 5 Mar 2018 08:20:29 +0100 (CET) Received: (qmail 20353 invoked by uid 500); 5 Mar 2018 07:20:28 -0000 Mailing-List: contact commits-help@camel.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: dev@camel.apache.org Delivered-To: mailing list commits@camel.apache.org Received: (qmail 19882 invoked by uid 99); 5 Mar 2018 07:20:26 -0000 Received: from ec2-52-202-80-70.compute-1.amazonaws.com (HELO gitbox.apache.org) (52.202.80.70) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 05 Mar 2018 07:20:26 +0000 Received: by gitbox.apache.org (ASF Mail Server at gitbox.apache.org, from userid 33) id 02406826F0; Mon, 5 Mar 2018 07:20:26 +0000 (UTC) Date: Mon, 05 Mar 2018 07:20:29 +0000 To: "commits@camel.apache.org" Subject: [camel] 05/05: CAMEL-12302 : MongoDB - fix comments in bulkWrite tests MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 8bit From: acosentino@apache.org In-Reply-To: <152023442467.5442.8829127328772800356@gitbox.apache.org> References: <152023442467.5442.8829127328772800356@gitbox.apache.org> X-Git-Host: gitbox.apache.org X-Git-Repo: camel X-Git-Refname: refs/heads/master X-Git-Reftype: branch X-Git-Rev: 936542eed069e34709a38fdaf874f50e80c65e8d X-Git-NotificationType: diff X-Git-Multimail-Version: 1.5.dev Auto-Submitted: auto-generated Message-Id: <20180305072026.02406826F0@gitbox.apache.org> This is an automated email from the ASF dual-hosted git repository. acosentino pushed a commit to branch master in repository https://gitbox.apache.org/repos/asf/camel.git commit 936542eed069e34709a38fdaf874f50e80c65e8d Author: Farès Hassak AuthorDate: Sun Mar 4 23:09:58 2018 +0100 CAMEL-12302 : MongoDB - fix comments in bulkWrite tests --- .../apache/camel/component/mongodb/MongoDbBulkWriteOperationTest.java | 2 +- .../apache/camel/component/mongodb3/MongoDbBulkWriteOperationTest.java | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/components/camel-mongodb/src/test/java/org/apache/camel/component/mongodb/MongoDbBulkWriteOperationTest.java b/components/camel-mongodb/src/test/java/org/apache/camel/component/mongodb/MongoDbBulkWriteOperationTest.java index 82f69a4..6076d66 100644 --- a/components/camel-mongodb/src/test/java/org/apache/camel/component/mongodb/MongoDbBulkWriteOperationTest.java +++ b/components/camel-mongodb/src/test/java/org/apache/camel/component/mongodb/MongoDbBulkWriteOperationTest.java @@ -59,7 +59,7 @@ public class MongoDbBulkWriteOperationTest extends AbstractMongoDbTest { // 1 updateOne + 100 updateMany + 1 replaceOne assertEquals("Records matched should be 102 : ", 102, result.getMatchedCount()); assertEquals("Records modified should be 102 : ", 102, result.getModifiedCount()); - // 1 updateOne + 100 updateMany + // 1 deleteOne + 100 deleteMany assertEquals("Records deleted should be 101 : ", 101, result.getDeletedCount()); } diff --git a/components/camel-mongodb3/src/test/java/org/apache/camel/component/mongodb3/MongoDbBulkWriteOperationTest.java b/components/camel-mongodb3/src/test/java/org/apache/camel/component/mongodb3/MongoDbBulkWriteOperationTest.java index dc27e81..34b53bc 100644 --- a/components/camel-mongodb3/src/test/java/org/apache/camel/component/mongodb3/MongoDbBulkWriteOperationTest.java +++ b/components/camel-mongodb3/src/test/java/org/apache/camel/component/mongodb3/MongoDbBulkWriteOperationTest.java @@ -58,7 +58,7 @@ public class MongoDbBulkWriteOperationTest extends AbstractMongoDbTest { // 1 updateOne + 100 updateMany + 1 replaceOne assertEquals("Records matched should be 102 : ", 102, result.getMatchedCount()); assertEquals("Records modified should be 102 : ", 102, result.getModifiedCount()); - // 1 updateOne + 100 updateMany + // 1 deleteOne + 100 deleteMany assertEquals("Records deleted should be 101 : ", 101, result.getDeletedCount()); } -- To stop receiving notification emails like this one, please contact acosentino@apache.org.