tests: pass /dev/null as config for mongod
On certain system, such as Darwin, the default mongod binary is a wrapper adding a default configuration file. Let's specify that there's no configuration file to read, otherwise a log file is used instead of stdout. Change-Id: I56c72cd61399405fd57d6e3f2b1f53ca6a395835
This commit is contained in:
parent
dff0102633
commit
4f0574d59f
@ -32,7 +32,7 @@ then
|
||||
echo "Could not find mongod command" 1>&2
|
||||
exit 1
|
||||
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=$!
|
||||
# Wait for Mongo to start listening to connections
|
||||
while read line
|
||||
|
Loading…
Reference in New Issue
Block a user