Skip to content

Commit 2d3e0bc

Browse files
committed
check disk space in .mci.yml when starting mongod
1 parent e793031 commit 2d3e0bc

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

.mci.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -101,19 +101,19 @@ c_driver_variables:
101101
mongo_orchestration:
102102
windows: &mongo_orchestration_windows
103103
start_mongo_orchestration: |
104-
echo "Installing Mongo Orchestration..."
105104
trap 'set +o errexit; mongo-orchestration stop;' EXIT
106105
taskkill.exe /FI "IMAGENAME eq python.exe" /F
107106
taskkill.exe /FI "IMAGENAME eq mongod.exe" /F
107+
fsutil volume diskfree c:
108108
echo "Starting Mongo Orchestration..."
109109
echo "{ \"releases\": { \"default\": \"c:\\\\mongodb\\\\bin\" }, \"last_updated\": \"2014-08-29 20:57:00.000000\" }" > orchestration.config
110110
mongo-orchestration -f orchestration.config -e default -s wsgiref start --socket-timeout-ms=60000
111111
sleep 10
112112
curl -s http://localhost:8889/
113113
unix: &mongo_orchestration_unix
114114
start_mongo_orchestration: |
115-
echo "Installing Mongo Orchestration..."
116115
trap 'set +o errexit; mongo-orchestration stop;' EXIT
116+
df
117117
echo "Starting Mongo Orchestration..."
118118
echo "{ \"releases\": { \"default\": \"`pwd`/mongodb/bin\" }, \"last_updated\": \"2014-08-29 20:57:00.000000\" }" > orchestration.config
119119
TMPDIR=/data/db mongo-orchestration -f orchestration.config -e default start --socket-timeout-ms=60000

0 commit comments

Comments
 (0)