summaryrefslogtreecommitdiff
path: root/jstests
diff options
context:
space:
mode:
authorAndrew Shuvalov <andrew.shuvalov@mongodb.com>2021-06-01 12:56:44 +0000
committerEvergreen Agent <no-reply@evergreen.mongodb.com>2021-06-01 13:09:26 +0000
commit8b565a174c9edf5451b6325085cebe0f1afe1e3a (patch)
tree7f5b494067c9ebd30f6ae19c960ec306c41812d5 /jstests
parent5ced9522d15db7887fd32b82f50ec4b9eed46c70 (diff)
downloadmongo-8b565a174c9edf5451b6325085cebe0f1afe1e3a.tar.gz
SERVER-56361: revert FTDC diagnostics
Diffstat (limited to 'jstests')
-rw-r--r--jstests/noPassthrough/ftdc_connection_pool.js6
1 files changed, 0 insertions, 6 deletions
diff --git a/jstests/noPassthrough/ftdc_connection_pool.js b/jstests/noPassthrough/ftdc_connection_pool.js
index 351713c5a8c..f1fb7336aa0 100644
--- a/jstests/noPassthrough/ftdc_connection_pool.js
+++ b/jstests/noPassthrough/ftdc_connection_pool.js
@@ -24,12 +24,6 @@ load('jstests/libs/ftdc.js');
assert(stats.hasOwnProperty('totalAvailable'));
assert(stats.hasOwnProperty('totalCreated'));
assert(stats.hasOwnProperty('totalRefreshing'));
- assert("getHostAndRefresh" in stats["replicaSetMonitor"]);
- const getHostStats = stats["replicaSetMonitor"]["getHostAndRefresh"];
- assert(getHostStats.hasOwnProperty('currentlyActive'));
- assert("hello" in stats["replicaSetMonitor"]);
- const helloStats = stats["replicaSetMonitor"]["hello"];
- assert(helloStats.hasOwnProperty('currentlyActive'));
// The connPoolStats command reply has "hosts", but FTDC's stats do not.
assert(!stats.hasOwnProperty('hosts'));