diff options
author | Benety Goh <benety@mongodb.com> | 2018-09-05 10:17:02 -0400 |
---|---|---|
committer | Benety Goh <benety@mongodb.com> | 2018-09-05 10:17:16 -0400 |
commit | 5e6c3d0b10a0197a4df6df408d3110d87b67638a (patch) | |
tree | 821fd6ef2699fa5d5496ee99b5c39fbc6997be87 /jstests/noPassthrough | |
parent | 39355c3221284c4b2cff3ebd89c86c0316d5380e (diff) | |
download | mongo-5e6c3d0b10a0197a4df6df408d3110d87b67638a.tar.gz |
SERVER-36969 reduce number of updates in wt cache tests from 1000 to 500
Diffstat (limited to 'jstests/noPassthrough')
-rw-r--r-- | jstests/noPassthrough/initial_sync_wt_cache_full.js | 2 | ||||
-rw-r--r-- | jstests/noPassthrough/recovery_wt_cache_full.js | 2 | ||||
-rw-r--r-- | jstests/noPassthrough/wt_cache_full.js | 2 | ||||
-rw-r--r-- | jstests/noPassthrough/wt_cache_full_restart.js | 2 |
4 files changed, 4 insertions, 4 deletions
diff --git a/jstests/noPassthrough/initial_sync_wt_cache_full.js b/jstests/noPassthrough/initial_sync_wt_cache_full.js index dd7f1e69bea..3e35b3f0e61 100644 --- a/jstests/noPassthrough/initial_sync_wt_cache_full.js +++ b/jstests/noPassthrough/initial_sync_wt_cache_full.js @@ -52,7 +52,7 @@ jsTestLog('Oplog application on secondary ' + secondary.host + ' is limited to ' + batchOpsLimit + ' operations per batch.'); - const numUpdates = 1000; + const numUpdates = 500; jsTestLog('Buffering ' + numUpdates + ' updates to ' + numDocs + ' documents on secondary.'); checkLog.contains(secondary, 'initial sync - initialSyncHangBeforeCopyingDatabases fail point enabled'); diff --git a/jstests/noPassthrough/recovery_wt_cache_full.js b/jstests/noPassthrough/recovery_wt_cache_full.js index b54a8d27451..2b26e475f82 100644 --- a/jstests/noPassthrough/recovery_wt_cache_full.js +++ b/jstests/noPassthrough/recovery_wt_cache_full.js @@ -58,7 +58,7 @@ assert.commandWorked( secondary.adminCommand({configureFailPoint: 'disableSnapshotting', mode: 'alwaysOn'})); - const numUpdates = 1000; + const numUpdates = 500; jsTestLog('Writing ' + numUpdates + ' updates to ' + numDocs + ' documents on secondary after disabling snapshots.'); for (let i = 0; i < numDocs; ++i) { diff --git a/jstests/noPassthrough/wt_cache_full.js b/jstests/noPassthrough/wt_cache_full.js index 0b64da07e14..a5f08aa0815 100644 --- a/jstests/noPassthrough/wt_cache_full.js +++ b/jstests/noPassthrough/wt_cache_full.js @@ -39,7 +39,7 @@ } assert.eq(numDocs, coll.find().itcount()); - const numUpdates = 1000; + const numUpdates = 500; const secondary = rst.getSecondary(); const batchOpsLimit = assert.commandWorked(secondary.adminCommand({getParameter: 1, replBatchLimitOperations: 1})) diff --git a/jstests/noPassthrough/wt_cache_full_restart.js b/jstests/noPassthrough/wt_cache_full_restart.js index be8e9748433..5ee7fa9c935 100644 --- a/jstests/noPassthrough/wt_cache_full_restart.js +++ b/jstests/noPassthrough/wt_cache_full_restart.js @@ -39,7 +39,7 @@ } assert.eq(numDocs, coll.find().itcount()); - const numUpdates = 1000; + const numUpdates = 500; let secondary = rst.getSecondary(); const batchOpsLimit = assert.commandWorked(secondary.adminCommand({getParameter: 1, replBatchLimitOperations: 1})) |