summaryrefslogtreecommitdiff
path: root/jstests/auth
diff options
context:
space:
mode:
authorSulabh Mahajan <sulabh.mahajan@mongodb.com>2018-01-15 10:50:14 +1100
committerSulabh Mahajan <sulabh.mahajan@mongodb.com>2018-01-15 13:06:00 +1100
commit86c02f1c786ccf46f97f4561ab0ad85aed87c297 (patch)
tree7aed6456a6747b27d10519ed2f1ecb0ee538684e /jstests/auth
parent20258d04c3bb4352c84af091bca1d404dac9cfee (diff)
downloadmongo-86c02f1c786ccf46f97f4561ab0ad85aed87c297.tar.gz
SERVER-32505 Create mobile SE evergreen variant - Linuxr3.7.1
Diffstat (limited to 'jstests/auth')
-rw-r--r--jstests/auth/arbiter.js1
-rw-r--r--jstests/auth/authentication_restrictions.js1
-rw-r--r--jstests/auth/authentication_restrictions_role.js1
-rw-r--r--jstests/auth/copyauth.js1
-rw-r--r--jstests/auth/copyauth_between_shards.js1
-rw-r--r--jstests/auth/repl_auth.js1
-rw-r--r--jstests/auth/resource_pattern_matching.js1
-rw-r--r--jstests/auth/secondary_invalidation.js1
-rw-r--r--jstests/auth/upgrade_noauth_to_keyfile.js2
-rw-r--r--jstests/auth/upgrade_noauth_to_keyfile_with_sharding.js1
-rw-r--r--jstests/auth/user_defined_roles_on_secondaries.js1
11 files changed, 11 insertions, 1 deletions
diff --git a/jstests/auth/arbiter.js b/jstests/auth/arbiter.js
index df9f85a8015..f272cc7bc65 100644
--- a/jstests/auth/arbiter.js
+++ b/jstests/auth/arbiter.js
@@ -1,5 +1,6 @@
// Certain commands should be run-able from arbiters under localhost, but not from
// any other nodes in the replset.
+// @tags: [requires_replication]
var name = "arbiter_localhost_test";
var key = "jstests/libs/key1";
diff --git a/jstests/auth/authentication_restrictions.js b/jstests/auth/authentication_restrictions.js
index 17d656c9f05..e69a411795d 100644
--- a/jstests/auth/authentication_restrictions.js
+++ b/jstests/auth/authentication_restrictions.js
@@ -1,5 +1,6 @@
/**
* This test checks that authentication restrictions can be set and respected.
+ * @tags: [requires_sharding, requires_replication]
*/
(function() {
diff --git a/jstests/auth/authentication_restrictions_role.js b/jstests/auth/authentication_restrictions_role.js
index 80e9df6c794..640e671364c 100644
--- a/jstests/auth/authentication_restrictions_role.js
+++ b/jstests/auth/authentication_restrictions_role.js
@@ -1,5 +1,6 @@
/**
* This test checks that authentication restrictions can be set on roles and respected.
+ * @tags: [requires_replication, requires_sharding]
*/
(function() {
diff --git a/jstests/auth/copyauth.js b/jstests/auth/copyauth.js
index 0bad123cb98..faf5badd5ff 100644
--- a/jstests/auth/copyauth.js
+++ b/jstests/auth/copyauth.js
@@ -32,6 +32,7 @@ var baseName = "jstests_clone_copyauth";
* Member functions:
*
* stop() - stop and cleanup whatever nodes the helper spawned when it was created.
+ * @tags: [requires_replication, requires_sharding]
*/
function ClusterSpawnHelper(clusterType, startWithAuth, startWithTransitionToAuth) {
var singleNodeConfig = {};
diff --git a/jstests/auth/copyauth_between_shards.js b/jstests/auth/copyauth_between_shards.js
index 419d548f969..17fc908208f 100644
--- a/jstests/auth/copyauth_between_shards.js
+++ b/jstests/auth/copyauth_between_shards.js
@@ -1,5 +1,6 @@
// Test copyDatabase command inside a sharded cluster with and without auth. Tests with auth are
// currently disabled due to SERVER-13080.
+// @tags: [requires_sharding]
var baseName = "jstests_clone_copyauth_between_shards";
diff --git a/jstests/auth/repl_auth.js b/jstests/auth/repl_auth.js
index aa851840bc5..17a6e13bd4b 100644
--- a/jstests/auth/repl_auth.js
+++ b/jstests/auth/repl_auth.js
@@ -1,6 +1,7 @@
/**
* Test that the replica set connections to the secondaries will have the right auth credentials
* even when these connections are shared within the same connection pool.
+ * @tags: [requires_replication]
*/
var NUM_NODES = 3;
diff --git a/jstests/auth/resource_pattern_matching.js b/jstests/auth/resource_pattern_matching.js
index dd83b8bf273..8173bb0e1a6 100644
--- a/jstests/auth/resource_pattern_matching.js
+++ b/jstests/auth/resource_pattern_matching.js
@@ -1,5 +1,6 @@
/*
* Tests that resource pattern matching rules work as expected.
+ * @tags: [requires_replication, requires_sharding]
*/
function setup_users(granter) {
diff --git a/jstests/auth/secondary_invalidation.js b/jstests/auth/secondary_invalidation.js
index 3752a3aa678..8500322751f 100644
--- a/jstests/auth/secondary_invalidation.js
+++ b/jstests/auth/secondary_invalidation.js
@@ -1,6 +1,7 @@
/**
* Test that user modifications on replica set primaries
* will invalidate cached user credentials on secondaries
+ * @tags: [requires_replication]
*/
var NUM_NODES = 3;
diff --git a/jstests/auth/upgrade_noauth_to_keyfile.js b/jstests/auth/upgrade_noauth_to_keyfile.js
index 080c7217c00..9bf2ec115e6 100644
--- a/jstests/auth/upgrade_noauth_to_keyfile.js
+++ b/jstests/auth/upgrade_noauth_to_keyfile.js
@@ -2,7 +2,7 @@
* This test checks the upgrade path from noauth to keyFile.
*
* This test requires users to persist across a restart.
- * @tags: [requires_persistence]
+ * @tags: [requires_persistence, requires_replication]
*/
load('jstests/multiVersion/libs/multi_rs.js');
diff --git a/jstests/auth/upgrade_noauth_to_keyfile_with_sharding.js b/jstests/auth/upgrade_noauth_to_keyfile_with_sharding.js
index 8cfca96933a..49d9e40c87c 100644
--- a/jstests/auth/upgrade_noauth_to_keyfile_with_sharding.js
+++ b/jstests/auth/upgrade_noauth_to_keyfile_with_sharding.js
@@ -1,5 +1,6 @@
// Tests access control upgrade on a sharded cluster
// The purpose is to verify the connectivity between mongos, config server, and the shards
+// @tags: [requires_sharding]
load('jstests/ssl/libs/ssl_helpers.js');
diff --git a/jstests/auth/user_defined_roles_on_secondaries.js b/jstests/auth/user_defined_roles_on_secondaries.js
index c405363c575..81a33a38d8a 100644
--- a/jstests/auth/user_defined_roles_on_secondaries.js
+++ b/jstests/auth/user_defined_roles_on_secondaries.js
@@ -32,6 +32,7 @@
* First, it sets up a 1-node replicaset and adds some roles.
* Then, it adds a second node to the replicaset, and verifies that the roles sync correctly.
* Then, it runs a variety of operations on the primary, and ensures that they replicate correctly.
+ * @tags: [requires_replication]
*/
(function() {