summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--jstests/noPassthrough/rollback_wt_cache_full.js3
1 files changed, 1 insertions, 2 deletions
diff --git a/jstests/noPassthrough/rollback_wt_cache_full.js b/jstests/noPassthrough/rollback_wt_cache_full.js
index 6ea271b1dba..1721d98752d 100644
--- a/jstests/noPassthrough/rollback_wt_cache_full.js
+++ b/jstests/noPassthrough/rollback_wt_cache_full.js
@@ -49,8 +49,7 @@ rst.initiate(config);
const rollbackSizeLimitMB = 300;
const minDocSizeMB = 10;
const largeString = 'x'.repeat(minDocSizeMB * 1024 * 1024);
-// TODO(SERVER-39774): Increase numDocs to Math.floor(rollbackSizeLimitMB / minDocSizeMB).
-const numDocs = 1;
+const numDocs = Math.floor(rollbackSizeLimitMB / minDocSizeMB) - 5;
// Operations that will be present on both nodes, before the common point.
const collName = 'test.t';