[SERVER-83467] Make direct_shard_connections_server_status.js use assert.soon when checking the metrics after closing one of the connections Created: 20/Nov/23  Updated: 21/Nov/23  Resolved: 21/Nov/23

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

Type: Task Priority: Major - P3
Reporter: Cheahuychou Mao Assignee: Cheahuychou Mao
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
Participants:
Linked BF Score: 43

 Description   

SERVER-83361 made this test explicitly close the connection it creates but the race in BF-30855 can still show up so the next option is to use assert.soon to wait until the connection is destroyed in the server side.



 Comments   
Comment by Githook User [ 20/Nov/23 ]

Author:

{'name': 'Cheahuychou Mao', 'email': 'cheahuychou.mao@mongodb.com', 'username': 'cheahuychou'}

Message: SERVER-83467 Make direct_shard_connections_server_status.js use assert.soon when checking the metrics after closing one of the connections
Branch: master
https://github.com/mongodb/mongo/commit/5384c1a9ed194f8031e3caa13fa4094bcc60b6da

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