diff options
author | Eliot Horowitz <eliot@10gen.com> | 2010-08-31 12:51:11 -0400 |
---|---|---|
committer | Eliot Horowitz <eliot@10gen.com> | 2010-08-31 12:51:11 -0400 |
commit | c296e87903f1235917102bb5ce96734c5596d325 (patch) | |
tree | c5ab8d29d6888561438f0358ae80eef0130d02ff | |
parent | dbdf9d595a17e9a98313833e9538f38679a7261b (diff) | |
download | mongo-c296e87903f1235917102bb5ce96734c5596d325.tar.gz |
try to fix smoke.py again
-rwxr-xr-x | buildscripts/smoke.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/buildscripts/smoke.py b/buildscripts/smoke.py index 4a594c04a23..8233dee186a 100755 --- a/buildscripts/smoke.py +++ b/buildscripts/smoke.py @@ -212,7 +212,7 @@ def check_db_hashes(master, slave): raise(Bug("slave instance doesn't have slave attribute set")) print "waiting for slave to catch up..." - argv = [shell_executable, "--port", str(slave.port), "--quiet", "--eval", 'db.smokeWait.insert( {} ); printjson( db.getLastErrorCmd(2, 120000) );'] + argv = [shell_executable, "--port", str(master.port), "--quiet", "--eval", 'db.smokeWait.insert( {} ); printjson( db.getLastErrorCmd(2, 120000) );'] res = Popen(argv, stdout=PIPE).communicate() print "wait result: " + str( res[0] ) + "\t" + str( res[1] ) |