[SERVER-26846] scoped_db_conn_test.exe - DontReturnConnGoneBadToPool: expected notReusedConns == globalConnPool.getNumBadConns Created: 31/Oct/16  Updated: 19/Nov/16  Resolved: 01/Nov/16

Status: Closed
Project: Core Server
Component/s: Networking
Affects Version/s: 3.4.0-rc2
Fix Version/s: 3.4.0-rc3

Type: Bug Priority: Major - P3
Reporter: Waley Chen Assignee: Waley Chen
Resolution: Done Votes: 0
Labels: None
Remaining Estimate: Not Specified
Time Spent: Not Specified
Original Estimate: Not Specified

Issue Links:
Depends
Backwards Compatibility: Fully Compatible
Operating System: ALL
Sprint: Platforms 2016-10-31, Platforms 2016-11-21
Participants:
Linked BF Score: 0

 Description   

The test/ASSERT is bad because it doesn't account that it may take multiple attempts to get an available connection from the pool and that the pool can become empty in which case a new connection is created.



 Comments   
Comment by Githook User [ 01/Nov/16 ]

Author:

{u'username': u'WaleyChen', u'name': u'Waley Chen', u'email': u'waleycz@gmail.com'}

Message: SERVER-26846 scoped_db_conn_test.exe - DontReturnConnGoneBadToPool: expected notReusedConns == globalConnPool.getNumBadConns
Branch: master
https://github.com/mongodb/mongo/commit/b1764ce64215d5c9c0b3482aa251f8e900512b12

Generated at Thu Feb 08 04:13:23 UTC 2024 using Jira 9.7.1#970001-sha1:2222b88b221c4928ef0de3161136cc90c8356a66.