diff options
author | Greg Studer <greg@10gen.com> | 2013-12-14 16:01:30 -0500 |
---|---|---|
committer | Greg Studer <greg@10gen.com> | 2013-12-16 14:49:01 -0500 |
commit | b0cc3e092880c00cdbd531d88f38cb9e0a52d881 (patch) | |
tree | d26701d6c4ed9dc98891ab181d9eded0e8a0c083 /jstests/sharding/geo_shardedgeonear.js | |
parent | 99dff054c8b83caf43c42d01b0497dcb0e1ee5bf (diff) | |
download | mongo-b0cc3e092880c00cdbd531d88f38cb9e0a52d881.tar.gz |
SERVER-11681 mongos upconverts all writes by default
Diffstat (limited to 'jstests/sharding/geo_shardedgeonear.js')
-rw-r--r-- | jstests/sharding/geo_shardedgeonear.js | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/jstests/sharding/geo_shardedgeonear.js b/jstests/sharding/geo_shardedgeonear.js index a59b4b87146..269531f4caa 100644 --- a/jstests/sharding/geo_shardedgeonear.js +++ b/jstests/sharding/geo_shardedgeonear.js @@ -27,7 +27,7 @@ function test(db, sharded, indexType) { var lat = 90 - Random.rand() * 180; var lng = 180 - Random.rand() * 360; db[coll].insert({rand:Math.random(), loc: [lng, lat]}) - assert(!db.getLastError()); + assert.eq(null, db.getLastError()); } assert.eq(db[coll].count(), numPts); |