Skip to content

Commit

Permalink
SERVER-26808 Clear out Jepsen mongod log files from previous runs
Browse files Browse the repository at this point in the history
  • Loading branch information
hptabster committed Oct 27, 2016
1 parent 67d5bd9 commit 8ce5367
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions etc/evergreen.yml
Original file line number Diff line number Diff line change
Expand Up @@ -506,6 +506,9 @@ functions:
echo "Copy to host $hostn failed!"
$sudo tail -n 100 $hostn_log
exit_failure_code=$exit_code
else
# Cleanup any existing logs from previous runs.
ssh root@$hostn "rm -f /root/mongod.log /root/stdout.log /opt/mongod/mongod.log /opt/mongod/stdout.log"
fi
done
exit $exit_failure_code
Expand Down

0 comments on commit 8ce5367

Please sign in to comment.