summaryrefslogtreecommitdiff
path: root/jstests/noPassthroughWithMongod/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/noPassthroughWithMongod/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/noPassthroughWithMongod/geo_near_random1.js')
-rw-r--r--jstests/noPassthroughWithMongod/geo_near_random1.js13
1 files changed, 13 insertions, 0 deletions
diff --git a/jstests/noPassthroughWithMongod/geo_near_random1.js b/jstests/noPassthroughWithMongod/geo_near_random1.js
new file mode 100644
index 00000000000..ad67bdc2734
--- /dev/null
+++ b/jstests/noPassthroughWithMongod/geo_near_random1.js
@@ -0,0 +1,13 @@
+// this tests all points using $near
+load("jstests/libs/geo_near_random.js");
+
+var test = new GeoNearRandomTest("nightly.geo_near_random1");
+
+test.insertPts(200);
+
+test.testPt([0,0]);
+test.testPt(test.mkPt());
+test.testPt(test.mkPt());
+test.testPt(test.mkPt());
+test.testPt(test.mkPt());
+