Add a sleep to ensure mongodb is up after restart.
@@ -74,7 +74,7 @@ install:
before_script:
# Use a custom mongod.conf which uses various speed optimizations
- sudo cp scripts/travis/mongod.conf /etc/mongod.conf
- - sudo service mongod restart
+ - sudo service mongod restart ; sleep 5
- git --version
- pip --version
- virtualenv --version
