diff options
author | Max Hirschhorn <max.hirschhorn@mongodb.com> | 2015-06-23 22:22:52 -0400 |
---|---|---|
committer | Max Hirschhorn <max.hirschhorn@mongodb.com> | 2015-06-23 22:22:52 -0400 |
commit | dd0c8d73aad862770866a65f5494e51620edfc7e (patch) | |
tree | 316ecff8aa38cf478ebf53a38097d73035ad32a9 /jstests/core/geo_update_btree.js | |
parent | cb23019011883f3c5f0ce0876248e80f05de4581 (diff) | |
download | mongo-dd0c8d73aad862770866a65f5494e51620edfc7e.tar.gz |
SERVER-18868 Check the exit code of the parallel shell.
By default the await function returned by startParallelShell() asserts
that the exit code is zero.
Diffstat (limited to 'jstests/core/geo_update_btree.js')
-rw-r--r-- | jstests/core/geo_update_btree.js | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/jstests/core/geo_update_btree.js b/jstests/core/geo_update_btree.js index 225a6635903..474be72e3e1 100644 --- a/jstests/core/geo_update_btree.js +++ b/jstests/core/geo_update_btree.js @@ -13,7 +13,7 @@ if (testingReplication) { var parallelInsert = startParallelShell( "for ( var i = 0; i < 1000; i++ ) {" + - " var doc = { loc: [ Random.rand() * 180, Random.rand() * 180 ], v: '' }" + + " var doc = { loc: [ Random.rand() * 180, Random.rand() * 180 ], v: '' };" + " db.jstests_geo_update_btree.insert(doc);" + "}"); |