[SERVER-35023] Add server parameter maxTransactionLockRequestTimeoutMillis test Created: 16/May/18  Updated: 29/Oct/23  Resolved: 25/May/18

Status: Closed
Project: Core Server
Component/s: Storage
Affects Version/s: None
Fix Version/s: 4.1.1

Type: Improvement Priority: Major - P3
Reporter: Dianna Hohensee (Inactive) Assignee: Dianna Hohensee (Inactive)
Resolution: Fixed Votes: 0
Labels: None
Remaining Estimate: Not Specified
Time Spent: Not Specified
Original Estimate: Not Specified

Issue Links:
Depends
depends on SERVER-31767 Provide a window of snapshot history ... Closed
Related
related to SERVER-33244 Make all lock acquisitions for transa... Closed
Backwards Compatibility: Fully Compatible
Sprint: Storage NYC 2018-06-04
Participants:

 Description   

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.



 Comments   
Comment by Githook User [ 25/May/18 ]

Author:

{'username': 'DiannaHohensee', 'name': 'Dianna Hohensee', 'email': 'dianna.hohensee@10gen.com'}

Message: SERVER-35023 Add JS test for server parameter maxTransactionLockRequestTimeoutMillis
Branch: master
https://github.com/mongodb/mongo/commit/8c3738f1be3f42c0aee4d82f8deec547d8e74e8c

Generated at Thu Feb 08 04:38:35 UTC 2024 using Jira 9.7.1#970001-sha1:2222b88b221c4928ef0de3161136cc90c8356a66.