summaryrefslogtreecommitdiff
path: root/jstests/watchdog/wd_auditpath_hang.js
diff options
context:
space:
mode:
Diffstat (limited to 'jstests/watchdog/wd_auditpath_hang.js')
-rw-r--r--jstests/watchdog/wd_auditpath_hang.js21
1 files changed, 21 insertions, 0 deletions
diff --git a/jstests/watchdog/wd_auditpath_hang.js b/jstests/watchdog/wd_auditpath_hang.js
new file mode 100644
index 00000000000..bd961d55a47
--- /dev/null
+++ b/jstests/watchdog/wd_auditpath_hang.js
@@ -0,0 +1,21 @@
+// 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"
+ });
+ }
+
+})();