Github user mgaido91 commented on a diff in the pull request:
https://github.com/apache/nifi/pull/2392#discussion_r160982784
--- Diff:
nifi-nar-bundles/nifi-mongodb-bundle/nifi-mongodb-processors/src/test/java/org/apache/nifi/processors/mongodb/PutMongoTest.java
---
@@ -166,6 +167,7 @@ public void testUpdateDoesNotInsert() throws Exception {
byte[] bytes = documentToByteArray(doc);
runner.setProperty(PutMongo.MODE, "update");
+ runner.setProperty(PutMongo.UPSERT, "false");
--- End diff --
why do we need to add this?
---