0
0
mirror of https://github.com/mongodb/mongo.git synced 2024-11-30 17:10:48 +01:00

SERVER-42128 Lower thread count and number of documents in compact_while_creating_indexes FSM workload

This commit is contained in:
Louis Williams 2019-07-31 13:38:41 -04:00
parent da8f5d7786
commit 5a0476d730

View File

@ -18,7 +18,7 @@ var $config = (function() {
}
function insertDocuments(db, collName) {
const nDocumentsToInsert = 1000;
const nDocumentsToInsert = 100;
var bulk = db[collName].initializeUnorderedBulkOp();
for (var i = 0; i < nDocumentsToInsert; ++i) {
bulk.insert({x: i});
@ -70,7 +70,7 @@ var $config = (function() {
};
return {
threadCount: 30,
threadCount: 10,
iterations: 10,
states: states,
transitions: transitions,