-
Type: Task
-
Resolution: Done
-
Priority: Major - P3
-
Affects Version/s: None
-
Component/s: Testing
The current command:
https://github.com/mongodb/mongo-cxx-driver/blob/legacy/.mci.yml#L213
trap '${killall_mci|mongo-orchestration stop || pkill -9 mongod || pkill -9 mongos || true}' EXIT
Should probably be replaced with something like:
trap 'set +o errexit; mongo-orchestration stop ; ${mci_killall|pkill -9 mongod ; pkill -9 mongos}' EXIT
The server equivalent is here if you want to copy its logic:
https://github.com/10gen/mci/blob/3423cb0dfb392bceac4e9eecc163e6b9a4d02fb0/config_prod/project/mongodb-mongo-master.yml#L198
And the windows override of mci_killall:
https://github.com/10gen/mci/blob/3423cb0dfb392bceac4e9eecc163e6b9a4d02fb0/config_prod/distros/windows64.yml#L22