0
0
mirror of https://github.com/mongodb/mongo.git synced 2024-12-01 01:21:03 +01:00

SERVER-26317 Increase benchRun seconds for flaky tests

These tests have been failing sporadically because benchRun completes
without running any operations. This is a temporary workaround to
reduce the noise in the build.
This commit is contained in:
Charlie Swanson 2016-10-25 10:25:57 -04:00
parent b8fc3fffe8
commit 1cfafa59e7
3 changed files with 3 additions and 3 deletions

View File

@ -10,7 +10,7 @@ ops = [
{op: "update", ns: t.getFullName(), query: {_id: 1}, update: {$inc: {x: 1}}}
];
seconds = 2;
seconds = 10;
benchArgs = {
ops: ops,

View File

@ -10,7 +10,7 @@ benchArgs = {
update: {$inc: {x: 1}}
}],
parallel: 2,
seconds: 5,
seconds: 10,
host: db.getMongo().host
};

View File

@ -20,7 +20,7 @@
}
function executeBenchRun(benchOps) {
var benchArgs = {ops: benchOps, parallel: 2, seconds: 1, host: db.getMongo().host};
var benchArgs = {ops: benchOps, parallel: 2, seconds: 5, host: db.getMongo().host};
if (jsTest.options().auth) {
benchArgs['db'] = 'admin';
benchArgs['username'] = jsTest.options().authUser;