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

Increase waiting time in connection_establishment_metrics.js

    • Type: Icon: Bug Bug
    • Resolution: Fixed
    • Priority: Icon: Major - P3 Major - P3
    • 6.2.0-rc0
    • Affects Version/s: None
    • Component/s: None
    • Labels:
      None
    • Fully Compatible
    • ALL
    • Service Arch 2022-08-22, Service Arch 2022-09-05
    • 42

      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.

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

              Created:
              Updated:
              Resolved: