We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent ecc8e23 commit b8c5851Copy full SHA for b8c5851
driver-legacy/src/test/functional/com/mongodb/MapReduceTest.java
@@ -151,6 +151,7 @@ public void testMapReduceWithOutputToAnotherDatabase() {
151
MapReduceCommand.OutputType.REPLACE,
152
new BasicDBObject());
153
command.setOutputDB(MR_DATABASE);
154
+ getClient().getDatabase(MR_DATABASE).createCollection(DEFAULT_COLLECTION);
155
MapReduceOutput output = collection.mapReduce(command);
156
157
0 commit comments