summaryrefslogtreecommitdiff
path: root/jstests
diff options
context:
space:
mode:
authorDan Pasette <dan@mongodb.com>2017-09-21 11:58:18 -0400
committerDan Pasette <dan@mongodb.com>2017-09-21 17:56:18 -0400
commitd90e9a13a515a2c408b58ed0fad60a327ac7d3b7 (patch)
tree33e8b7fbaba565accf31bb5bcd1928581cd30a4c /jstests
parent305f4366320ba2538f077c28d0f3ea6979277c48 (diff)
downloadmongo-d90e9a13a515a2c408b58ed0fad60a327ac7d3b7.tar.gz
Revert "Revert "SERVER-21677 Remove "diaglog" support from the server""
This reverts commit 0e3c8a96af7f9ddd6d5a059c92f6303eba1d0b32. Fixed up rpm scripts to exclude mongosniff
Diffstat (limited to 'jstests')
-rw-r--r--jstests/auth/lib/commands_lib.js14
-rw-r--r--jstests/core/views/views_all_commands.js1
-rw-r--r--jstests/sharding/safe_secondary_reads_drop_recreate.js1
-rw-r--r--jstests/sharding/safe_secondary_reads_single_migration_suspend_range_deletion.js1
-rw-r--r--jstests/sharding/safe_secondary_reads_single_migration_waitForDelete.js1
5 files changed, 0 insertions, 18 deletions
diff --git a/jstests/auth/lib/commands_lib.js b/jstests/auth/lib/commands_lib.js
index 077ed4fe388..90b8d1051f8 100644
--- a/jstests/auth/lib/commands_lib.js
+++ b/jstests/auth/lib/commands_lib.js
@@ -2246,20 +2246,6 @@ var authCommandsLib = {
]
},
{
- testname: "diagLogging",
- command: {diagLogging: 1},
- skipSharded: true,
- testcases: [
- {
- runOnDb: adminDbName,
- roles: roles_hostManager,
- privileges: [{resource: {cluster: true}, actions: ["diagLogging"]}]
- },
- {runOnDb: firstDbName, roles: {}},
- {runOnDb: secondDbName, roles: {}}
- ]
- },
- {
testname: "distinct",
command: {distinct: "coll", key: "a", query: {}},
testcases: [
diff --git a/jstests/core/views/views_all_commands.js b/jstests/core/views/views_all_commands.js
index 6cee9851545..b9c2474bf69 100644
--- a/jstests/core/views/views_all_commands.js
+++ b/jstests/core/views/views_all_commands.js
@@ -180,7 +180,6 @@
},
dbStats: {skip: "TODO(SERVER-25948)"},
delete: {command: {delete: "view", deletes: [{q: {x: 1}, limit: 1}]}, expectFailure: true},
- diagLogging: {skip: isUnrelated},
distinct: {command: {distinct: "view", key: "_id"}},
driverOIDTest: {skip: isUnrelated},
drop: {command: {drop: "view"}},
diff --git a/jstests/sharding/safe_secondary_reads_drop_recreate.js b/jstests/sharding/safe_secondary_reads_drop_recreate.js
index e8a285456f8..d5be9f69efd 100644
--- a/jstests/sharding/safe_secondary_reads_drop_recreate.js
+++ b/jstests/sharding/safe_secondary_reads_drop_recreate.js
@@ -132,7 +132,6 @@
dbHash: {skip: "does not return user data"},
dbStats: {skip: "does not return user data"},
delete: {skip: "primary only"},
- diagLogging: {skip: "does not return user data"},
distinct: {
setUp: function(mongosConn) {
assert.writeOK(mongosConn.getCollection(nss).insert({x: 1}));
diff --git a/jstests/sharding/safe_secondary_reads_single_migration_suspend_range_deletion.js b/jstests/sharding/safe_secondary_reads_single_migration_suspend_range_deletion.js
index 64a7a674cf7..6d0248e60b6 100644
--- a/jstests/sharding/safe_secondary_reads_single_migration_suspend_range_deletion.js
+++ b/jstests/sharding/safe_secondary_reads_single_migration_suspend_range_deletion.js
@@ -151,7 +151,6 @@
dbHash: {skip: "does not return user data"},
dbStats: {skip: "does not return user data"},
delete: {skip: "primary only"},
- diagLogging: {skip: "does not return user data"},
distinct: {
setUp: function(mongosConn) {
assert.writeOK(mongosConn.getCollection(nss).insert({x: 1}));
diff --git a/jstests/sharding/safe_secondary_reads_single_migration_waitForDelete.js b/jstests/sharding/safe_secondary_reads_single_migration_waitForDelete.js
index 4e728ba4f9a..7204a4b83c7 100644
--- a/jstests/sharding/safe_secondary_reads_single_migration_waitForDelete.js
+++ b/jstests/sharding/safe_secondary_reads_single_migration_waitForDelete.js
@@ -134,7 +134,6 @@
dbHash: {skip: "does not return user data"},
dbStats: {skip: "does not return user data"},
delete: {skip: "primary only"},
- diagLogging: {skip: "does not return user data"},
distinct: {
setUp: function(mongosConn) {
assert.writeOK(mongosConn.getCollection(nss).insert({x: 1}));