diff options
author | samantharitter <samantha.ritter@10gen.com> | 2015-11-09 15:31:33 -0500 |
---|---|---|
committer | samantharitter <samantha.ritter@10gen.com> | 2015-11-09 18:00:23 -0500 |
commit | 6dac61e3f9a3d3de7fe7126d8f24c2311a2b8684 (patch) | |
tree | 089f46069f59dba647da1da6e773122585946cea /jstests/sharding | |
parent | cd2333af431e20af8e55739b5e2e8778d55e70f7 (diff) | |
download | mongo-6dac61e3f9a3d3de7fe7126d8f24c2311a2b8684.tar.gz |
SERVER-21365 Fix expectations in conn_pool_stats.js
Diffstat (limited to 'jstests/sharding')
-rw-r--r-- | jstests/sharding/conn_pool_stats.js | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/jstests/sharding/conn_pool_stats.js b/jstests/sharding/conn_pool_stats.js index 52a4b38641d..ef15f73bdab 100644 --- a/jstests/sharding/conn_pool_stats.js +++ b/jstests/sharding/conn_pool_stats.js @@ -23,7 +23,7 @@ assert("numAScopedConnection" in dbclient); assert("totalInUse" in dbclient); assert("totalAvailable" in dbclient); assert("totalCreated" in dbclient); -assert.eq(dbclient["totalInUse"] + dbclient["totalAvailable"], dbclient["totalCreated"]); +assert.lte(dbclient["totalInUse"] + dbclient["totalAvailable"], dbclient["totalCreated"], tojson(dbclient)); // Stats from ASIO pool assert("NetworkInterfaceASIO (Sharding)" in pools); @@ -32,4 +32,4 @@ assert("hosts" in asio); assert("totalInUse" in asio); assert("totalAvailable" in asio); assert("totalCreated" in asio); -assert.eq(asio["totalInUse"] + asio["totalAvailable"], asio["totalCreated"]); +assert.lte(asio["totalInUse"] + asio["totalAvailable"], asio["totalCreated"], tojson(asio)); |