-
Type: Improvement
-
Resolution: Fixed
-
Priority: Major - P3
-
Affects Version/s: None
-
Component/s: Testing Infrastructure
-
None
-
Server Development Platform
-
Fully Compatible
While 7.1 branching found that we have hardcoded path to evergreen configuration file here. On 7.1 it was fixed by updating the path: https://github.com/mongodb/mongo/commit/9238c05d066ca360509efd73ee5b084f0c464963
We should avoid that and use evergreen_config_file_path parameter that we have in both evergreen.yml and evergreen_nightly.yml with the default "etc/evergreen.yml" value.
I would suggest to do something similar that we have here:
https://github.com/mongodb/mongo/blob/a4837acbd304b879a35026a34fcb9da6a96f2ef6/buildscripts/evergreen_task_timeout.py#L371-L372
https://github.com/mongodb/mongo/blob/8e004a1aa0450a52a7a5665f5f6d47b131128cfc/evergreen/functions/task_timeout_determine.sh#L52