0
0
mirror of https://github.com/mongodb/mongo.git synced 2024-11-28 16:24:56 +01:00
mongodb/jstests/noPassthrough/geo_near_random1.js
Mathias Stearn d0a1e84ab2 SERVER-13391 Rename slowNightly -> noPassthroughWithMongod and slowWeekly -> noPassthrough
This better represents their purpose and the difference between them.
2014-03-27 17:35:16 -04:00

22 lines
444 B
JavaScript

// this tests all points using $near
load("jstests/libs/geo_near_random.js");
load( "jstests/libs/slow_weekly_util.js" )
testServer = new SlowWeeklyMongod( "geo_near_random1" )
db = testServer.getDB( "test" );
var test = new GeoNearRandomTest("weekly.geo_near_random1");
test.insertPts(1000);
test.testPt([0,0]);
test.testPt(test.mkPt());
test.testPt(test.mkPt());
test.testPt(test.mkPt());
test.testPt(test.mkPt());
testServer.stop();