diff options
-rw-r--r-- | jstests/noPassthrough/drop_connections_replSet.js | 2 | ||||
-rw-r--r-- | jstests/noPassthrough/drop_connections_sharded.js | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/jstests/noPassthrough/drop_connections_replSet.js b/jstests/noPassthrough/drop_connections_replSet.js index e137dd32dfa..d8e07397afe 100644 --- a/jstests/noPassthrough/drop_connections_replSet.js +++ b/jstests/noPassthrough/drop_connections_replSet.js @@ -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 diff --git a/jstests/noPassthrough/drop_connections_sharded.js b/jstests/noPassthrough/drop_connections_sharded.js index cfcb97a228d..7d2f605946e 100644 --- a/jstests/noPassthrough/drop_connections_sharded.js +++ b/jstests/noPassthrough/drop_connections_sharded.js @@ -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; |