Uploaded image for project: 'Core Server'
  1. Core Server
  2. SERVER-68859

Increase waiting time in connection_establishment_metrics.js

    XMLWordPrintableJSON

Details

    • Icon: Bug Bug
    • Resolution: Fixed
    • Icon: Major - P3 Major - P3
    • 6.2.0-rc0
    • None
    • None
    • None
    • Fully Compatible
    • ALL
    • Service Arch 2022-08-22, Service Arch 2022-09-05
    • 42

    Description

      Per BF-26091, the use of transportLayerASIOhangBeforeAccept failpoint does not guarantee that the connection from mongos to the primary will wait longer than the configured threshold, because the failpoint can be hit by any incomming connection, not just the one from mongos. That makes the connection_establishment_metrics.js test fail occasionally, because the connection from mongos doesn't get stalled long enough.

      Increasing the wait time after the failpoint has been activated should fix the problem.

      Attachments

        Activity

          People

            vojislav.stojkovic@mongodb.com Vojislav Stojkovic
            vojislav.stojkovic@mongodb.com Vojislav Stojkovic
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: