summaryrefslogtreecommitdiff
path: root/jstests/noPassthrough/wiredTigerMaxCacheOverflowSizeGB_serverParameter.js
blob: 0bb94a7d0e8e60830d0591931eeb8f1f7edff197 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
/**
 * Test server validation of the 'wiredTigerMaxCacheOverflowSizeGB' server parameter setting via
 * the setParameter command.
 * @tags: [requires_persistence, requires_wiredtiger]
 */

(function() {
'use strict';

load("jstests/noPassthrough/libs/server_parameter_helpers.js");

// Valid parameter values are in the range [0.1, infinity) or 0 (unbounded).
testNumericServerParameter("wiredTigerMaxCacheOverflowSizeGB",
                           false /*isStartupParameter*/,
                           true /*isRuntimeParameter*/,
                           0 /*defaultValue*/,
                           0.1 /*nonDefaultValidValue*/,
                           false /*hasLowerBound*/,
                           "unused" /*lowerOutOfBounds*/,
                           false /*hasUpperBound*/,
                           "unused" /*upperOutOfBounds*/);
})();