summaryrefslogtreecommitdiff
path: root/jstests/noPassthroughWithMongod/geo_polygon.js
diff options
context:
space:
mode:
authorMikhail Shchatko <mikhail.shchatko@mongodb.com>2020-09-08 15:59:50 +0300
committerEvergreen Agent <no-reply@evergreen.mongodb.com>2020-09-10 07:27:00 +0000
commit57cb74336b8d6a64b4d4ce5e3c34baa0534fabfb (patch)
tree88261c9eb4817baa8ff19d8a14518f64b5d773d6 /jstests/noPassthroughWithMongod/geo_polygon.js
parent0ce948778cc5e0d7d8a9c76abd37e8ac875d9ef4 (diff)
downloadmongo-57cb74336b8d6a64b4d4ce5e3c34baa0534fabfb.tar.gz
SERVER-50313 Add standalone tasks to live-record buildvariant
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});