summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorGreg McKeon <greg.mckeon@mongodb.com>2019-11-06 18:10:36 -0500
committerGreg McKeon <greg.mckeon@mongodb.com>2019-11-08 19:23:44 -0800
commitcbb1b4ef911f3093fc5626cc315cde6159859387 (patch)
tree5f6febe0f1b41c5fa7143e844f41a4b10870f7b2
parentf2e5ed79d51d55133eda545508e34f47b5f0161f (diff)
downloadmongo-cbb1b4ef911f3093fc5626cc315cde6159859387.tar.gz
Updated change streams test tags
-rw-r--r--jstests/change_streams/change_stream.js2
-rw-r--r--jstests/change_streams/whole_cluster.js1
-rw-r--r--jstests/change_streams/whole_cluster_metadata_notifications.js2
-rw-r--r--jstests/change_streams/whole_db_metadata_notifications.js2
4 files changed, 4 insertions, 3 deletions
diff --git a/jstests/change_streams/change_stream.js b/jstests/change_streams/change_stream.js
index 6c03864cedd..cac06cecdf4 100644
--- a/jstests/change_streams/change_stream.js
+++ b/jstests/change_streams/change_stream.js
@@ -1,7 +1,7 @@
// Basic $changeStream tests.
// Mark as assumes_read_preference_unchanged since reading from the non-replicated "system.profile"
// collection results in a failure in the secondary reads suite.
-// @tags: [assumes_read_preference_unchanged]
+// @tags: [assumes_read_preference_unchanged, assumes_superuser_permissions]
(function() {
"use strict";
diff --git a/jstests/change_streams/whole_cluster.js b/jstests/change_streams/whole_cluster.js
index 7d2d3f22dbb..f2ad78033af 100644
--- a/jstests/change_streams/whole_cluster.js
+++ b/jstests/change_streams/whole_cluster.js
@@ -1,4 +1,5 @@
// Basic tests for $changeStream against all databases in the cluster.
+// @tags: [assumes_superuser_permissions]
(function() {
"use strict";
diff --git a/jstests/change_streams/whole_cluster_metadata_notifications.js b/jstests/change_streams/whole_cluster_metadata_notifications.js
index e5a12213310..a90210c77ea 100644
--- a/jstests/change_streams/whole_cluster_metadata_notifications.js
+++ b/jstests/change_streams/whole_cluster_metadata_notifications.js
@@ -2,7 +2,7 @@
// When run in sharded+transaction passthrough suites, it is possible that the two unsharded
// collections will live on different shards. Majority read concern cannot be off with multi-shard
// transactions, which is why this test needs the tag below.
-// @tags: [requires_majority_read_concern]
+// @tags: [requires_majority_read_concern, assumes_superuser_permissions]
(function() {
"use strict";
diff --git a/jstests/change_streams/whole_db_metadata_notifications.js b/jstests/change_streams/whole_db_metadata_notifications.js
index b0cc9e16d0c..2e574b04085 100644
--- a/jstests/change_streams/whole_db_metadata_notifications.js
+++ b/jstests/change_streams/whole_db_metadata_notifications.js
@@ -1,7 +1,7 @@
// Tests of metadata notifications for a $changeStream on a whole database.
// Do not run in whole-cluster passthrough since this test assumes that the change stream will be
// invalidated by a database drop.
-// @tags: [do_not_run_in_whole_cluster_passthrough]
+// @tags: [do_not_run_in_whole_cluster_passthrough, assumes_superuser_permissions]
(function() {
"use strict";