Merge "tests: pass /dev/null as config for mongod"

This commit is contained in:
Jenkins 2014-01-16 16:23:55 +00:00 committed by Gerrit Code Review
commit 614c646bb8

View File

@ -32,7 +32,7 @@ then
echo "Could not find mongod command" 1>&2 echo "Could not find mongod command" 1>&2
exit 1 exit 1
fi fi
mongod --maxConns 32 --nojournal --noprealloc --smallfiles --quiet --noauth --port ${MONGO_PORT} --dbpath "${MONGO_DATA}" --bind_ip localhost &>${MONGO_DATA}/out & mongod --maxConns 32 --nojournal --noprealloc --smallfiles --quiet --noauth --port ${MONGO_PORT} --dbpath "${MONGO_DATA}" --bind_ip localhost --config /dev/null &>${MONGO_DATA}/out &
MONGO_PID=$! MONGO_PID=$!
# Wait for Mongo to start listening to connections # Wait for Mongo to start listening to connections
while read line while read line