summaryrefslogtreecommitdiff
path: root/jstests/aggregation
diff options
context:
space:
mode:
authorMathias Stearn <mathias@10gen.com>2013-09-18 13:20:47 -0400
committerMathias Stearn <mathias@10gen.com>2013-09-20 15:46:19 -0400
commitef6cf5605e52f33f42a946c520fb4a3b014d6e8f (patch)
tree989a47ed1d1d0fdf23b7c19e7da89eed168dec82 /jstests/aggregation
parentb8d5ea09f7d34b9f1d4e438b101291cc2e27bcc2 (diff)
downloadmongo-ef6cf5605e52f33f42a946c520fb4a3b014d6e8f.tar.gz
SERVER-10741 remove outputNs from return object when using $out
Diffstat (limited to 'jstests/aggregation')
-rw-r--r--jstests/aggregation/bugs/server3253.js2
-rw-r--r--jstests/aggregation/testshard1.js2
2 files changed, 2 insertions, 2 deletions
diff --git a/jstests/aggregation/bugs/server3253.js b/jstests/aggregation/bugs/server3253.js
index b9324da0f39..8198cb09318 100644
--- a/jstests/aggregation/bugs/server3253.js
+++ b/jstests/aggregation/bugs/server3253.js
@@ -9,7 +9,7 @@ output.drop();
function test(pipeline, expected) {
pipeline.push({$out: output.getName()});
var result = input.aggregate(pipeline);
- assert.eq(result, {result: [], outputNs: output.getFullName(), ok: 1});
+ assert.eq(result, {result: [], ok: 1});
assert.eq(output.find().toArray(), expected);
}
diff --git a/jstests/aggregation/testshard1.js b/jstests/aggregation/testshard1.js
index 66dd8b261dc..6ecc1a7b870 100644
--- a/jstests/aggregation/testshard1.js
+++ b/jstests/aggregation/testshard1.js
@@ -197,7 +197,7 @@ testSortLimit(100, -1);
// test $out by copying source collection verbatim to output
var outCollection = db.ts1_out;
var res = db.ts1.aggregate({$out: outCollection.getName()});
-assert.eq(res, {result: [], outputNs: outCollection.getFullName(), ok: 1});
+assert.eq(res, {result: [], ok: 1});
assert.eq(db.ts1.find().itcount(), outCollection.find().itcount());
assert.eq(db.ts1.find().sort({_id:1}).toArray(),
outCollection.find().sort({_id:1}).toArray());