summaryrefslogtreecommitdiff
path: root/jstests/noPassthroughWithMongod/geo_polygon.js
diff options
context:
space:
mode:
Diffstat (limited to 'jstests/noPassthroughWithMongod/geo_polygon.js')
-rw-r--r--jstests/noPassthroughWithMongod/geo_polygon.js4
1 files changed, 3 insertions, 1 deletions
diff --git a/jstests/noPassthroughWithMongod/geo_polygon.js b/jstests/noPassthroughWithMongod/geo_polygon.js
index ce7f9ebf67c..d0085fa1f92 100644
--- a/jstests/noPassthroughWithMongod/geo_polygon.js
+++ b/jstests/noPassthroughWithMongod/geo_polygon.js
@@ -16,7 +16,9 @@ for (x = -180; x < 180; x += .5) {
assert.commandWorked(bulk.execute());
var numTests = 31;
-for (var n = 0; n < numTests; n++) {
+// Reduce the amount of repetitions on live-record buildvariant
+var start = (TestData.undoRecorderPath ? 20 : 0);
+for (var n = start; n < numTests; n++) {
t.dropIndexes();
t.ensureIndex({loc: "2d"}, {bits: 2 + n});