summaryrefslogtreecommitdiff
path: root/jstests/auth
diff options
context:
space:
mode:
authorMickey. J Winters <mickey.winters@mongodb.com>2021-07-08 22:10:36 +0000
committerEvergreen Agent <no-reply@evergreen.mongodb.com>2021-07-08 22:47:01 +0000
commitad84ff45e2a7abbdcd782d9cde97d098711f99bf (patch)
tree1c109ebf56857cccc1871d4721c6d3912521643f /jstests/auth
parent304ce7435a17740b88c29ddc8b6b08b8c0c4e292 (diff)
downloadmongo-ad84ff45e2a7abbdcd782d9cde97d098711f99bf.tar.gz
SERVER-58202 mark several tests as requires_sharding
Diffstat (limited to 'jstests/auth')
-rw-r--r--jstests/auth/impersonation-deny.js7
1 files changed, 7 insertions, 0 deletions
diff --git a/jstests/auth/impersonation-deny.js b/jstests/auth/impersonation-deny.js
index 716094efa8e..19522c66131 100644
--- a/jstests/auth/impersonation-deny.js
+++ b/jstests/auth/impersonation-deny.js
@@ -59,6 +59,13 @@ function testMongod(mongod, systemuserpwd = undefined) {
MongoRunner.stopMongod(standalone);
}
+if (!jsTestOptions().noJournal &&
+ (!jsTest.options().storageEngine || jsTest.options().storageEngine === "wiredTiger")) {
+ print("Skipping test because running WiredTiger without journaling isn't a valid" +
+ " replica set configuration");
+ return;
+}
+
{
const kKeyfile = 'jstests/libs/key1';
const kKey = cat(kKeyfile).replace(/[\011-\015\040]/g, '');