mirror of
https://github.com/mongodb/mongo.git
synced 2024-12-01 09:32:32 +01:00
19 lines
776 B
JavaScript
19 lines
776 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)
|
||
|
);
|
||
|
})();
|