0
0
mirror of https://github.com/mongodb/mongo.git synced 2024-12-01 09:32:32 +01:00
This commit is contained in:
Gregory Wlodarek 2019-06-11 17:39:00 -04:00
parent 3bf31bf4a0
commit f96818e612
2 changed files with 2 additions and 2 deletions

View File

@ -18,7 +18,7 @@
assert.commandWorked(ret);
jsTestLog("Connection pool stats by host: " + tojson(ret.hosts));
return ret.hosts;
};
}
// To test the dropConnections command, first remove the secondary. This should have no effect
// on the existing connection pool, but it'll prevent the primary from reconnecting to it after

View File

@ -23,7 +23,7 @@
assert.commandWorked(ret);
jsTestLog("Connection pool stats by host: " + tojson(ret.hosts));
return ret.hosts;
};
}
const cfg = primary.getDB('local').system.replset.findOne();
const memberHost = cfg.members[2].host;