diff options
author | Eliot Horowitz <eliot@10gen.com> | 2010-08-26 09:43:28 -0400 |
---|---|---|
committer | Eliot Horowitz <eliot@10gen.com> | 2010-08-26 09:43:28 -0400 |
commit | 653d2e588d9975e2cc2be44ace4c7f4d82a694e7 (patch) | |
tree | 8c1463488f74a01f7236efa997237600b5b2a261 /buildscripts | |
parent | 1bbea389ef6591880924b1a273587e4ebe71358e (diff) | |
download | mongo-653d2e588d9975e2cc2be44ace4c7f4d82a694e7.tar.gz |
try to fix small oplog again - better w= stuff
Diffstat (limited to 'buildscripts')
-rwxr-xr-x | buildscripts/smoke.py | 6 |
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]: |