summaryrefslogtreecommitdiff
path: root/jstests/aggregation/sources/merge/mode_pipeline_insert.js
diff options
context:
space:
mode:
authorAnton Korshunov <anton.korshunov@mongodb.com>2019-05-17 14:31:26 +0100
committerAnton Korshunov <anton.korshunov@mongodb.com>2019-05-30 10:21:11 +0100
commitda754e6c0490a3ccacd04339f34fafbd878331b4 (patch)
tree6bc3e54796ccbcd5547cbece33a9f8fa4a7a906d /jstests/aggregation/sources/merge/mode_pipeline_insert.js
parentc2c6ed338f617e89600f4a221abc19045431c46e (diff)
downloadmongo-da754e6c0490a3ccacd04339f34fafbd878331b4.tar.gz
SERVER-41203 Robustify $merge all_modes.js
Diffstat (limited to 'jstests/aggregation/sources/merge/mode_pipeline_insert.js')
-rw-r--r--jstests/aggregation/sources/merge/mode_pipeline_insert.js1
1 files changed, 1 insertions, 0 deletions
diff --git a/jstests/aggregation/sources/merge/mode_pipeline_insert.js b/jstests/aggregation/sources/merge/mode_pipeline_insert.js
index 2bb5883a785..b8f8374cfc9 100644
--- a/jstests/aggregation/sources/merge/mode_pipeline_insert.js
+++ b/jstests/aggregation/sources/merge/mode_pipeline_insert.js
@@ -158,6 +158,7 @@
return;
}
+ assert(source.drop());
assert(target.drop());
assert.commandWorked(source.insert({_id: 4, a: 2}));
assert.commandWorked(target.insert([{_id: 1, x: 1}, {_id: 2, a: 2}]));