diff options
Diffstat (limited to 'jstests/aggregation/sources/graphLookup/airports.js')
-rw-r--r-- | jstests/aggregation/sources/graphLookup/airports.js | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/jstests/aggregation/sources/graphLookup/airports.js b/jstests/aggregation/sources/graphLookup/airports.js index 779678b07da..801e15c3bbb 100644 --- a/jstests/aggregation/sources/graphLookup/airports.js +++ b/jstests/aggregation/sources/graphLookup/airports.js @@ -28,7 +28,7 @@ var bulk = foreign.initializeUnorderedBulkOp(); airports.forEach(function(a) { bulk.insert(a); }); -assert.writeOK(bulk.execute()); +assert.commandWorked(bulk.execute()); // Insert a dummy document so that something will flow through the pipeline. local.insert({}); |