diff options
author | Mathew Robinson <chasinglogic@gmail.com> | 2018-02-05 09:55:59 -0500 |
---|---|---|
committer | Mathew Robinson <chasinglogic@gmail.com> | 2018-02-05 09:56:26 -0500 |
commit | 70c9d51a7dfad9710bb5fe6e5f6b7cfddea29d1e (patch) | |
tree | 06ccb1387e7b8f6fb725b8d71f0939ef53e2f65e | |
parent | 4c96f51df19009bda74dd7be6d2219183804162a (diff) | |
download | mongo-70c9d51a7dfad9710bb5fe6e5f6b7cfddea29d1e.tar.gz |
SERVER-32772 dbtest task should write to task directory
-rw-r--r-- | etc/evergreen.yml | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/etc/evergreen.yml b/etc/evergreen.yml index beb5d1835c9..1b09c586bc9 100644 --- a/etc/evergreen.yml +++ b/etc/evergreen.yml @@ -503,6 +503,13 @@ functions: set -o errexit set -o verbose + # Set the TMPDIR environment variable to be a directory in the task's working + # directory so that temporary files created by processes spawned by resmoke.py get + # cleaned up after the task completes. This also ensures the spawned processes + # aren't impacted by limited space in the mount point for the /tmp directory. + export TMPDIR="${workdir}/tmp" + mkdir -p $TMPDIR + if [ ${disable_unit_tests|false} = "false" ]; then # activate the virtualenv if it has been set up |