scoped_db_conn_test.exe - DontReturnConnGoneBadToPool: expected notReusedConns == globalConnPool.getNumBadConns

XMLWordPrintableJSON

    • Type: Bug
    • Resolution: Done
    • Priority: Major - P3
    • 3.4.0-rc3
    • Affects Version/s: 3.4.0-rc2
    • Component/s: Networking
    • None
    • Fully Compatible
    • ALL
    • Platforms 2016-10-31, Platforms 2016-11-21
    • 0
    • None
    • 3
    • None
    • None
    • None
    • None
    • None
    • None

      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.

            Assignee:
            Waley Chen (Inactive)
            Reporter:
            Waley Chen (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

              Created:
              Updated:
              Resolved: