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:
parent
b8fc3fffe8
commit
1cfafa59e7
@ -10,7 +10,7 @@ ops = [
|
||||
{op: "update", ns: t.getFullName(), query: {_id: 1}, update: {$inc: {x: 1}}}
|
||||
];
|
||||
|
||||
seconds = 2;
|
||||
seconds = 10;
|
||||
|
||||
benchArgs = {
|
||||
ops: ops,
|
||||
|
@ -10,7 +10,7 @@ benchArgs = {
|
||||
update: {$inc: {x: 1}}
|
||||
}],
|
||||
parallel: 2,
|
||||
seconds: 5,
|
||||
seconds: 10,
|
||||
host: db.getMongo().host
|
||||
};
|
||||
|
||||
|
@ -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;
|
||||
|
Loading…
Reference in New Issue
Block a user