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

SERVER-34966 Increase transaction reaper timeout in read_concern_snapshot_yielding.js

This commit is contained in:
Ian Boros 2018-05-11 16:06:11 -04:00
parent b4d0c26c5c
commit dd26de5b95

View File

@ -31,6 +31,13 @@
return;
}
// Increase the timeout for the transaction reaper. This will make the test easier to debug if
// it hangs.
// TODO SERVER-34595: This should no longer be necessary once the transaction reaper timeout
// is increased for all noPassthrough tests.
assert.commandWorked(
db.adminCommand({"setParameter": 1, transactionLifetimeLimitSeconds: 60 * 60 * 3}));
TestData.sessionId = assert.commandWorked(adminDB.runCommand({startSession: 1})).id;
TestData.txnNumber = 0;