summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorBenety Goh <benety@mongodb.com>2019-02-25 10:56:34 -0500
committerBenety Goh <benety@mongodb.com>2019-03-08 10:59:57 -0500
commitfe0c50c6fc5faed1402e7cefc02470d79f7c1fe5 (patch)
tree56c0103118d6e352fb538270d0b48b0fd03c5805
parentfc796cd1bbd311e03ec149a521a769aee24f4402 (diff)
downloadmongo-fe0c50c6fc5faed1402e7cefc02470d79f7c1fe5.tar.gz
SERVER-39773 decrease number of updates in rollback_wt_cache_full.js
(cherry picked from commit 8aec8af7f8fc964a3552cc7026a9de03b677f018)
-rw-r--r--jstests/noPassthrough/rollback_wt_cache_full.js3
1 files changed, 2 insertions, 1 deletions
diff --git a/jstests/noPassthrough/rollback_wt_cache_full.js b/jstests/noPassthrough/rollback_wt_cache_full.js
index 6b6e7a79661..6eb3a173db0 100644
--- a/jstests/noPassthrough/rollback_wt_cache_full.js
+++ b/jstests/noPassthrough/rollback_wt_cache_full.js
@@ -42,7 +42,8 @@
const rollbackSizeLimitMB = 300;
const minDocSizeMB = 10;
const largeString = 'x'.repeat(minDocSizeMB * 1024 * 1024);
- const numDocs = Math.floor(rollbackSizeLimitMB / minDocSizeMB) - 5;
+ // TODO(SERVER-39774): Increase numDocs to Math.floor(rollbackSizeLimitMB / minDocSizeMB).
+ const numDocs = 1;
// Operations that will be present on both nodes, before the common point.
const collName = 'test.t';