diff options
author | Jonathan Abrahams <jonathan@mongodb.com> | 2016-07-07 23:45:22 -0400 |
---|---|---|
committer | Jonathan Abrahams <jonathan@mongodb.com> | 2016-07-07 23:45:37 -0400 |
commit | f54a69b159bb8d5a41e541df18807da787b37ca6 (patch) | |
tree | 8ed6bc4972a42554b059d7b26980bc4c5d929afa | |
parent | 67680aae26d7734e899976d020018b9cad474671 (diff) | |
download | mongo-f54a69b159bb8d5a41e541df18807da787b37ca6.tar.gz |
SERVER-24946 Evergreen.yml test for storageEngineCacheSizeGB cannot use [[ ]]
-rw-r--r-- | etc/evergreen.yml | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/etc/evergreen.yml b/etc/evergreen.yml index ec7a88a7f77..d84b73b9b3b 100644 --- a/etc/evergreen.yml +++ b/etc/evergreen.yml @@ -368,9 +368,12 @@ functions: # Default storageEngineCacheSizeGB to 1. Override on individual test config if needed. # resmoke will assign to the appropriate parameter on storage engines that support it. - if [[ "${resmoke_args}" != *storageEngineCacheSizeGB* ]]; then + set +o errexit + echo "${resmoke_args}" | grep -q storageEngineCacheSizeGB + if [ $? -eq 1 ]; then extra_args="$extra_args --storageEngineCacheSizeGB=1" fi + set -o errexit ${resmoke_wrapper} ${path_prefix} ${san_symbolizer} ${san_options} ${rlp_environment} ${python|python} buildscripts/resmoke.py ${resmoke_args} $extra_args ${test_flags} --log=buildlogger --reportFile=report.json |