summaryrefslogtreecommitdiff
path: root/buildscripts
diff options
context:
space:
mode:
authorEliot Horowitz <eliot@10gen.com>2010-08-26 09:43:28 -0400
committerEliot Horowitz <eliot@10gen.com>2010-08-26 09:43:28 -0400
commit653d2e588d9975e2cc2be44ace4c7f4d82a694e7 (patch)
tree8c1463488f74a01f7236efa997237600b5b2a261 /buildscripts
parent1bbea389ef6591880924b1a273587e4ebe71358e (diff)
downloadmongo-653d2e588d9975e2cc2be44ace4c7f4d82a694e7.tar.gz
try to fix small oplog again - better w= stuff
Diffstat (limited to 'buildscripts')
-rwxr-xr-xbuildscripts/smoke.py6
1 files changed, 2 insertions, 4 deletions
diff --git a/buildscripts/smoke.py b/buildscripts/smoke.py
index 7b8c23083ef..8a66c82667c 100755
--- a/buildscripts/smoke.py
+++ b/buildscripts/smoke.py
@@ -210,11 +210,9 @@ def checkDbHashes(master, slave):
raise(Bug("slave instance doesn't have slave attribute set"))
print "waiting for slave to catch up..."
- ARB=10 # ARBITRARY
- time.sleep(ARB)
- argv = [shellExecutable, "--port", str(slave.port), "--quiet", "--eval", 'db.smokeWait.insert( {} ); printjson( db.getLastErrorCmd(2, 60000) );']
+ argv = [shellExecutable, "--port", str(slave.port), "--quiet", "--eval", 'db.smokeWait.insert( {} ); printjson( db.getLastErrorCmd(2, 120000) );']
res = Popen(argv, stdout=PIPE).wait() #.communicate()[0]
- # FIXME: maybe assert that that res == 0?
+ print( res )
# FIXME: maybe make this run dbhash on all databases?
for mongod in [master, slave]: