From 46361fa7fe613ccc608aa70e72995eedc7cd9aa0 Mon Sep 17 00:00:00 2001 From: Preston Vasquez Date: Thu, 13 Feb 2025 14:06:34 -0700 Subject: [PATCH] GODRIVER-3448 Limit GOMAXPROCS for fuzz tests --- etc/run-fuzz.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/etc/run-fuzz.sh b/etc/run-fuzz.sh index fefd088796..22d36cfc7f 100755 --- a/etc/run-fuzz.sh +++ b/etc/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.