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 11:01:04 -0500
commit1877eb3042813e8c27614dc4ffc51c68d6eb3b3d (patch)
tree47d5cdd484a58020fa4b35fd210c70a8d5e6f1e9
parent557dedf9b693ecfc6f8a170a125a59c3faefd0b8 (diff)
downloadmongo-1877eb3042813e8c27614dc4ffc51c68d6eb3b3d.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 5439b7295c0..a5c66eba3c9 100644
--- a/jstests/noPassthrough/rollback_wt_cache_full.js
+++ b/jstests/noPassthrough/rollback_wt_cache_full.js
@@ -39,7 +39,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';