summaryrefslogtreecommitdiff
path: root/buildscripts
diff options
context:
space:
mode:
authorEliot Horowitz <eliot@10gen.com>2010-08-31 12:41:06 -0400
committerEliot Horowitz <eliot@10gen.com>2010-08-31 12:46:12 -0400
commitdbdf9d595a17e9a98313833e9538f38679a7261b (patch)
treec68eed16902ffc76225d399744717d53ffcd3ae7 /buildscripts
parentee65b0cc858ffc1ef68ab1a8850f658602b85926 (diff)
downloadmongo-dbdf9d595a17e9a98313833e9538f38679a7261b.tar.gz
fix small oplog debugging
Diffstat (limited to 'buildscripts')
-rwxr-xr-xbuildscripts/smoke.py4
1 files changed, 2 insertions, 2 deletions
diff --git a/buildscripts/smoke.py b/buildscripts/smoke.py
index c2447c2c54e..4a594c04a23 100755
--- a/buildscripts/smoke.py
+++ b/buildscripts/smoke.py
@@ -213,8 +213,8 @@ def check_db_hashes(master, slave):
print "waiting for slave to catch up..."
argv = [shell_executable, "--port", str(slave.port), "--quiet", "--eval", 'db.smokeWait.insert( {} ); printjson( db.getLastErrorCmd(2, 120000) );']
- res = Popen(argv, stdout=PIPE).wait() #.communicate()[0]
- print res
+ res = Popen(argv, stdout=PIPE).communicate()
+ print "wait result: " + str( res[0] ) + "\t" + str( res[1] )
# FIXME: maybe make this run dbhash on all databases?
for mongod in [master, slave]: