summaryrefslogtreecommitdiff
path: root/jstests
diff options
context:
space:
mode:
authorRichard Hausman <richard.hausman@mongodb.com>2022-06-21 13:53:41 +0000
committerEvergreen Agent <no-reply@evergreen.mongodb.com>2022-06-21 14:22:48 +0000
commit27186e42942af76557f65630f34aa640f586a21d (patch)
tree69bf067fff186cbbeface73dce4f3c23f0b963d7 /jstests
parent4287c364fabb19336ed191ea88f72e7521999ffc (diff)
downloadmongo-27186e42942af76557f65630f34aa640f586a21d.tar.gz
SERVER-65031: Enable watchdog for serverStatus_does_not_block_on_RSTL.js
Diffstat (limited to 'jstests')
-rw-r--r--jstests/noPassthrough/serverStatus_does_not_block_on_RSTL.js3
1 files changed, 2 insertions, 1 deletions
diff --git a/jstests/noPassthrough/serverStatus_does_not_block_on_RSTL.js b/jstests/noPassthrough/serverStatus_does_not_block_on_RSTL.js
index 45a139d3b75..8865544471c 100644
--- a/jstests/noPassthrough/serverStatus_does_not_block_on_RSTL.js
+++ b/jstests/noPassthrough/serverStatus_does_not_block_on_RSTL.js
@@ -18,7 +18,8 @@ load("jstests/libs/parallel_shell_helpers.js"); // startParallelShell
load("jstests/libs/wait_for_command.js"); // waitForCommand
// Use a sharding environment in order to exercise the sharding specific serverStatus sections.
-const st = new ShardingTest({mongos: 1, config: 1, shards: 1, rs: {nodes: 1}});
+const st = new ShardingTest(
+ {mongos: 1, config: 1, shards: 1, rs: {nodes: 1, setParameter: {watchdogPeriodSeconds: 60}}});
const testDB = st.rs0.getPrimary().getDB("test");
jsTestLog("Starting the sleep command in a parallel thread to take the RSTL MODE_X lock");