summaryrefslogtreecommitdiff
path: root/etc
diff options
context:
space:
mode:
authorMax Hirschhorn <max.hirschhorn@mongodb.com>2015-05-28 20:26:41 -0400
committerMax Hirschhorn <max.hirschhorn@mongodb.com>2015-05-28 20:26:41 -0400
commit6b41043ce9f0866de48732ddbbe49d66d4027d85 (patch)
tree30d52ce845ef43e1c81332e412792b72ba1f0742 /etc
parentd7468ec08158361b161f4f9e59af6c7c96642b2b (diff)
downloadmongo-6b41043ce9f0866de48732ddbbe49d66d4027d85.tar.gz
SERVER-17526 Enable tracking of spawned processes in MCI.
On Windows, this will cause MCI to assign processes to a job object. Change resmoke.py to only create a job object if the current process is not already assigned to one.
Diffstat (limited to 'etc')
-rw-r--r--etc/evergreen.yml2
1 files changed, 2 insertions, 0 deletions
diff --git a/etc/evergreen.yml b/etc/evergreen.yml
index d857f161947..3e5f04659cf 100644
--- a/etc/evergreen.yml
+++ b/etc/evergreen.yml
@@ -233,6 +233,7 @@ functions:
${asan_symbolizer} ${enable_lsan} ${python|python} buildscripts/resmoke.py ${resmoke_args} ${test_flags} --log=buildlogger --reportFile=report.json
pre:
+ - command: shell.track
- command: shell.exec
params:
silent: true
@@ -251,6 +252,7 @@ post:
script: |
${killall_mci|pkill -9 mongod; pkill -9 mongos; pkill -9 mongo; pkill -9 bsondump; pkill -9 mongoimport; pkill -9 mongoexport; pkill -9 mongodump; pkill -9 mongorestore; pkill -9 mongostat; pkill -9 mongofiles; pkill -9 mongooplog; pkill -9 mongotop; pkill -9 mongobridge; pkill -9 mongod-2.6; pkill -9 mongos-2.6; pkill -9 mongo-2.6; pkill -9 bsondump-2.6; pkill -9 mongoimport-2.6; pkill -9 mongoexport-2.6; pkill -9 mongodump-2.6; pkill -9 mongorestore-2.6; pkill -9 mongostat-2.6; pkill -9 mongofiles-2.6; pkill -9 mongooplog-2.6; pkill -9 mongotop-2.6; pkill -9 mongobridge-2.6; pkill -9 mongod-2.4; pkill -9 mongos-2.4; pkill -9 mongo-2.4; pkill -9 bsondump-2.4; pkill -9 mongoimport-2.4; pkill -9 mongoexport-2.4; pkill -9 mongodump-2.4; pkill -9 mongorestore-2.4; pkill -9 mongostat-2.4; pkill -9 mongofiles-2.4; pkill -9 mongooplog-2.4; pkill -9 mongotop-2.4; pkill -9 resmoke.py; pkill -9 python; pkill -9 cl; pkill -9 lock_mgr_test; pkill -9 background_job_test; pkill -9 repl_coordinator_impl_heartbeat_test} >/dev/null 2>&1
exit 0
+ - command: shell.cleanup
timeout:
- command: shell.exec