[SERVER-68859] Increase waiting time in connection_establishment_metrics.js Created: 16/Aug/22  Updated: 29/Oct/23  Resolved: 24/Aug/22

Status: Closed
Project: Core Server
Component/s: None
Affects Version/s: None
Fix Version/s: 6.2.0-rc0

Type: Bug Priority: Major - P3
Reporter: Vojislav Stojkovic Assignee: Vojislav Stojkovic
Resolution: Fixed 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: Service Arch 2022-08-22, Service Arch 2022-09-05
Participants:
Linked BF Score: 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.


Generated at Thu Feb 08 06:11:55 UTC 2024 using Jira 9.7.1#970001-sha1:2222b88b221c4928ef0de3161136cc90c8356a66.