mirror of
https://github.com/mongodb/mongo.git
synced 2024-12-01 01:21:03 +01:00
20 lines
522 B
JavaScript
20 lines
522 B
JavaScript
// Tests the ttlMonitorSleepSecs parameter
|
|
|
|
(function() {
|
|
'use strict';
|
|
|
|
load('jstests/noPassthrough/libs/server_parameter_helpers.js');
|
|
|
|
testNumericServerParameter(
|
|
'ttlMonitorSleepSecs',
|
|
true, // is Startup Param
|
|
false, // is runtime param
|
|
60, // default value
|
|
30, // valid, non-default value
|
|
true, // has lower bound
|
|
0, // out of bound value (below lower bound)
|
|
false, // has upper bound
|
|
'unused' // out of bounds value (above upper bound)
|
|
);
|
|
})();
|