diff options
author | trahman1318 <tausif.rahman@mongodb.com> | 2022-03-28 17:34:47 +0000 |
---|---|---|
committer | Evergreen Agent <no-reply@evergreen.mongodb.com> | 2022-03-28 19:35:26 +0000 |
commit | cf22bb8204da47c2d3696aabb2574077a66dcd66 (patch) | |
tree | 9fb1bfac9e97fbcaddf7714f60f5d8ef9d86f5ef /evergreen | |
parent | 6c8db37607eafe5ad0229223639bcf5de948e34c (diff) | |
download | mongo-cf22bb8204da47c2d3696aabb2574077a66dcd66.tar.gz |
SERVER-64873 Use inPatchBuild flag for agg & query fuzzers when in PB
Diffstat (limited to 'evergreen')
-rw-r--r-- | evergreen/jstestfuzz_run.sh | 11 |
1 files changed, 10 insertions, 1 deletions
diff --git a/evergreen/jstestfuzz_run.sh b/evergreen/jstestfuzz_run.sh index 30e6ed36549..d79ed69ac9b 100644 --- a/evergreen/jstestfuzz_run.sh +++ b/evergreen/jstestfuzz_run.sh @@ -8,4 +8,13 @@ set -o verbose add_nodejs_to_path -eval npm run ${npm_command} -- ${jstestfuzz_vars} --branch ${branch_name} +in_patch_build_flag="" +if [[ "${is_patch}" = "true" ]]; then + case "${npm_command}" in + agg-fuzzer | query-fuzzer) + in_patch_build_flag="--inPatchBuild" + ;; + esac +fi + +eval npm run "${npm_command}" -- "${jstestfuzz_vars}" "${in_patch_build_flag}" --branch "${branch_name}" |