Diff of /pyforge/pyforge/websetup/bootstrap.py [6b14a5] .. [01d9bf] Maximize Restore

  Switch to side-by-side view

--- a/pyforge/pyforge/websetup/bootstrap.py
+++ b/pyforge/pyforge/websetup/bootstrap.py
@@ -22,12 +22,12 @@
     log.info('Saving data to cache in .test-data')
     if os.path.exists('.test-data'):
         shutil.rmtree('.test-data')
-    os.system('mongodump -o .test-data > mongodump.log')
+    os.system('mongodump --port 28018 -o .test-data > mongodump.log')
 
 def restore_test_data():
     if os.path.exists('.test-data'):
         log.info('Restoring data from cache in .test-data')
-        rc = os.system('mongorestore --dir .test-data > mongorestore.log')
+        rc = os.system('mongorestore --port 28018 --dir .test-data > mongorestore.log')
         return rc == 0
     else:
         return False