summaryrefslogtreecommitdiff
path: root/jstests/noPassthrough/geo_near_random1.js
diff options
context:
space:
mode:
authorMathias Stearn <mathias@10gen.com>2014-03-27 16:15:09 -0400
committerMathias Stearn <mathias@10gen.com>2014-03-27 17:35:16 -0400
commitd0a1e84ab2fa1b6aa699721b5cb9a4f8d0bf3692 (patch)
tree7a1ffc91cb6cb176c1e367ea7641ab05032c862c /jstests/noPassthrough/geo_near_random1.js
parent719134aa7985c0a697f199fc78e323d04e3a65ad (diff)
downloadmongo-d0a1e84ab2fa1b6aa699721b5cb9a4f8d0bf3692.tar.gz
SERVER-13391 Rename slowNightly -> noPassthroughWithMongod and slowWeekly -> noPassthrough
This better represents their purpose and the difference between them.
Diffstat (limited to 'jstests/noPassthrough/geo_near_random1.js')
-rw-r--r--jstests/noPassthrough/geo_near_random1.js21
1 files changed, 21 insertions, 0 deletions
diff --git a/jstests/noPassthrough/geo_near_random1.js b/jstests/noPassthrough/geo_near_random1.js
new file mode 100644
index 00000000000..b401e6447cd
--- /dev/null
+++ b/jstests/noPassthrough/geo_near_random1.js
@@ -0,0 +1,21 @@
+// 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();