From a23ef8510a8e754d68240b5422d8d5676ccc4aa6 Mon Sep 17 00:00:00 2001 From: Preston Vasquez Date: Fri, 14 Feb 2025 15:53:11 -0700 Subject: [PATCH] GODRIVER-3448 Limit GOMAXPROCS for fuzz tests (#1939) (cherry picked from commit 7825d6dac0e20f6355b67fda7a25b7bc3cd844fe) --- .evergreen/run-fuzz.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.evergreen/run-fuzz.sh b/.evergreen/run-fuzz.sh index 3538da7f34..f5443c8e04 100755 --- a/.evergreen/run-fuzz.sh +++ b/.evergreen/run-fuzz.sh @@ -35,7 +35,7 @@ do done fi - go test ${PARENTDIR} -run=${FUNC} -fuzz=${FUNC} -fuzztime=${FUZZTIME} || true + GOMAXPROCS=2 go test ${PARENTDIR} -run=${FUNC} -fuzz=${FUNC} -fuzztime=${FUZZTIME} || true # Check if any new corpus files were generated for the fuzzer. If there are new corpus files, move them # to $PROJECT_DIRECTORY/fuzz/$FUNC/* so they can be tarred up and uploaded to S3.