[SERVER-77308] Increase balancerChunksSelectionTimeoutMs on unittests Created: 19/May/23  Updated: 29/Oct/23  Resolved: 30/Jun/23

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

Type: Bug Priority: Major - P3
Reporter: Silvia Surroca Assignee: Pau Baldillou Salse (Inactive)
Resolution: Fixed Votes: 0
Labels: shardingemea-qw
Remaining Estimate: Not Specified
Time Spent: Not Specified
Original Estimate: Not Specified

Issue Links:
Depends
Assigned Teams:
Sharding EMEA
Backwards Compatibility: Fully Compatible
Sprint: Sharding EMEA 2023-07-10
Participants:
Linked BF Score: 5
Story Points: 1

 Description   

We have seen some failures on BalancerChunkSelectionTest unit tests due to balancerChunksSelectionTimeoutMs timeout expirations on specific slow build variants.

Currently balancerChunksSelectionTimeoutMs defaults to 5 seconds, so we should increase the timeout for these unit tests.

To do that I suggest using a RAIIServerParameterControllerForTest in a similar way that is being used here to set the timeout to zero.



 Comments   
Comment by Githook User [ 03/Jul/23 ]

Author:

{'name': 'Pau Baldillou Salse', 'email': 'pau.baldillou-salse@mongodb.com', 'username': ''}

Message: SERVER-77308: Increase balancerChunksSelectionTimeoutMs on unit tests
Branch: EVG-17874-taskgen-test
https://github.com/mongodb/mongo/commit/9743fd921efdfba4f12a3bc0d8e43c084c8d648a

Comment by Githook User [ 29/Jun/23 ]

Author:

{'name': 'Pau Baldillou Salse', 'email': 'pau.baldillou-salse@mongodb.com', 'username': ''}

Message: SERVER-77308: Increase balancerChunksSelectionTimeoutMs on unit tests
Branch: master
https://github.com/mongodb/mongo/commit/9743fd921efdfba4f12a3bc0d8e43c084c8d648a

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