summaryrefslogtreecommitdiff
path: root/buildscripts
diff options
context:
space:
mode:
authorEliot Horowitz <eliot@10gen.com>2010-08-31 12:51:11 -0400
committerEliot Horowitz <eliot@10gen.com>2010-08-31 12:51:11 -0400
commitc296e87903f1235917102bb5ce96734c5596d325 (patch)
treec5ab8d29d6888561438f0358ae80eef0130d02ff /buildscripts
parentdbdf9d595a17e9a98313833e9538f38679a7261b (diff)
downloadmongo-c296e87903f1235917102bb5ce96734c5596d325.tar.gz
try to fix smoke.py again
Diffstat (limited to 'buildscripts')
-rwxr-xr-xbuildscripts/smoke.py2
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] )