Skip to content

Commit 2c28e63

Browse files
authored
Temporarily disable coredumps during library testing on macOS (dotnet#63742)
System.Runtime.InteropServices.Tests seems to produce >10GB of coredumps which overwhelms CI.
1 parent 79e40e3 commit 2c28e63

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

eng/testing/RunnerTemplate.sh

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -132,7 +132,8 @@ if [[ "$(uname -s)" == "Darwin" ]]; then
132132
# files already in /cores/ at this point. This is being done to prevent
133133
# inadvertently flooding the CI machines with dumps.
134134
if [[ ! -d "/cores" || ! "$(ls -A /cores)" ]]; then
135-
ulimit -c unlimited
135+
# FIXME: temporarily disable core dumps
136+
ulimit -c 0
136137
fi
137138

138139
elif [[ "$(uname -s)" == "Linux" ]]; then

0 commit comments

Comments
 (0)