Add the following JS test once SERVER-31767 is committed.
jstests/noPassthrough/maxTransactionLockRequestTimeoutMillis_serverParameter.js
// Tests the maxTransactionLockRequestTimeoutMillis server parameter. (function() { 'use strict'; load("jstests/noPassthrough/libs/server_parameter_helpers.js"); // Valid parameter values are in the range (-infinity, infinity). testNumericServerParameter("maxTransactionLockRequestTimeoutMillis", true /*isStartupParameter*/, true /*isRuntimeParameter*/, 0 /*defaultValue*/, 30 /*nonDefaultValidValue*/, false /*hasLowerBound*/, "unused" /*lowerOutOfBounds*/, false /*hasUpperBound*/, "unused" /*upperOutOfBounds*/); })();
It should have gone in with SERVER-33244, but the helper library to make the test a breeze to write is introduced in SERVER-31767, so I just made sure it worked but didn't commit it with SERVER-33244.
- depends on
-
SERVER-31767 Provide a window of snapshot history that is accessible for PIT reads
- Closed
- related to
-
SERVER-33244 Make all lock acquisitions for transactions have 0 second timeout
- Closed