diff options
author | Will Buerger <will.buerger@mongodb.com> | 2023-05-16 20:32:42 +0000 |
---|---|---|
committer | Evergreen Agent <no-reply@evergreen.mongodb.com> | 2023-05-17 00:09:49 +0000 |
commit | d646e44b7801a3e5b3230bbae7dcfe05a5ed8707 (patch) | |
tree | 2eebf945a3f958e3adddc157523a49deb72cc63d /jstests/auth/lib | |
parent | 8219766da20351edcda5fe21a18da254b382cd35 (diff) | |
download | mongo-d646e44b7801a3e5b3230bbae7dcfe05a5ed8707.tar.gz |
SERVER-76427: Rename $telemetry to $queryStats
Co-authored-by: Ted Tuckman <ted.tuckman@mongodb.com>
Diffstat (limited to 'jstests/auth/lib')
-rw-r--r-- | jstests/auth/lib/commands_lib.js | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/jstests/auth/lib/commands_lib.js b/jstests/auth/lib/commands_lib.js index 170223762b4..1d60c7aa308 100644 --- a/jstests/auth/lib/commands_lib.js +++ b/jstests/auth/lib/commands_lib.js @@ -6629,12 +6629,12 @@ export const authCommandsLib = { ] }, { - // Test that only clusterManager has permission to run $telemetry + // Test that only clusterManager has permission to run $queryStats testname: "testTelemetryReadPrivilege", - command: {aggregate: 1, pipeline: [{$telemetry: {}}], cursor: {}}, + command: {aggregate: 1, pipeline: [{$queryStats: {}}], cursor: {}}, skipSharded: false, skipTest: (conn) => { - return !TestData.setParameters.featureFlagTelemetry; + return !TestData.setParameters.featureFlagQueryStats; }, testcases: [{runOnDb: adminDbName, roles: roles_clusterManager}] }, |