2018-06-04 19:43:50 +02:00
|
|
|
// Tests the ttlMonitorSleepSecs parameter
|
|
|
|
|
|
|
|
(function() {
|
2019-07-27 00:20:35 +02:00
|
|
|
'use strict';
|
2018-06-04 19:43:50 +02:00
|
|
|
|
2019-07-27 00:20:35 +02:00
|
|
|
load('jstests/noPassthrough/libs/server_parameter_helpers.js');
|
2018-06-04 19:43:50 +02:00
|
|
|
|
2019-07-27 00:20:35 +02:00
|
|
|
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)
|
|
|
|
);
|
2018-06-04 19:43:50 +02:00
|
|
|
})();
|