Skip to content

Commit

Permalink
Set open files limit manually for MacOS-14-arm. (mongodb#1331)
Browse files Browse the repository at this point in the history
  • Loading branch information
sanych-sun authored May 27, 2024
1 parent 3a71962 commit 5dd4746
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 2 deletions.
4 changes: 2 additions & 2 deletions build.ps1
Original file line number Diff line number Diff line change
Expand Up @@ -102,7 +102,7 @@ if($FoundDotNetCliVersion -ne $DotNetVersion) {
& bash $ScriptPath --install-dir "$InstallPath" --channel 2.1 --no-path
& bash $ScriptPath --install-dir "$InstallPath" --channel 3.1 --no-path
& bash $ScriptPath --install-dir "$InstallPath" --channel 5.0 --no-path
& bash $ScriptPath --install-dir "$InstallPath" --channel 8.0 --no-path
& bash $ScriptPath --install-dir "$InstallPath" --channel 6.0 --no-path
& bash $ScriptPath --version "$DotNetVersion" --install-dir "$InstallPath" --channel "$DotNetChannel" --no-path

Remove-PathVariable "$InstallPath"
Expand All @@ -114,7 +114,7 @@ if($FoundDotNetCliVersion -ne $DotNetVersion) {
& $ScriptPath -Channel 2.1 -InstallDir $InstallPath;
& $ScriptPath -Channel 3.1 -InstallDir $InstallPath;
& $ScriptPath -Channel 5.0 -InstallDir $InstallPath;
& $ScriptPath -Channel 8.0 -InstallDir $InstallPath;
& $ScriptPath -Channel 6.0 -InstallDir $InstallPath;
& $ScriptPath -Channel $DotNetChannel -Version $DotNetVersion -InstallDir $InstallPath;

Remove-PathVariable "$InstallPath"
Expand Down
5 changes: 5 additions & 0 deletions evergreen/evergreen.yml
Original file line number Diff line number Diff line change
Expand Up @@ -217,6 +217,11 @@ functions:
params:
script: |
${PREPARE_SHELL}
if [ "${OS}" = "macos-14-arm64" ]; then
ulimit -a
# have to set the limit manually for macos-14-arm, can be removed once DEVPROD-7353 will be solved
ulimit -n 64000
fi
REQUIRE_API_VERSION=${REQUIRE_API_VERSION} \
LOAD_BALANCER=${LOAD_BALANCER} \
MONGODB_VERSION=${VERSION} \
Expand Down

0 comments on commit 5dd4746

Please sign in to comment.