summaryrefslogtreecommitdiff
path: root/jstests/watchdog/wd_auditpath_hang.js
blob: bca58b1f501c7ce96f890d7ac6b613f472fcf958 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
// Storage Node Watchdog - validate watchdog monitors --auditpath
//
load("jstests/watchdog/lib/wd_test_common.js");

(function() {
'use strict';

if (assert.commandWorked(db.runCommand({buildInfo: 1})).modules.includes("enterprise")) {
    let control = new CharybdefsControl("auditpath_hang");

    const auditPath = control.getMountPath();

    testFuseAndMongoD(control, {

        auditDestination: 'file',
        auditFormat: 'JSON',
        auditPath: auditPath + "/auditLog.json"
    });
}
})();